logiops/CMakeLists.txt
pixl 8de0f7e042 Set CMAKE_INSTALL_PREFIX to /usr
Should fix #26 and (hopefully) any questions relating to missing
libhiddp.so.
2020-05-15 04:28:25 -04:00

15 lines
347 B
CMake

cmake_minimum_required(VERSION 3.10)
set(CMAKE_INSTALL_PREFIX /usr)
project(logiops)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -Wall -Wextra")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_subdirectory(src/logid)