qSniff/source/RCSwitch/CMakeLists.txt

17 lines
240 B
CMake
Raw Normal View History

2017-10-19 12:29:03 +00:00
project(rc-switch)
2017-10-19 11:57:55 +00:00
cmake_minimum_required(VERSION 3.6)
2017-10-19 12:29:03 +00:00
add_library(${PROJECT_NAME}
2017-10-19 11:57:55 +00:00
rc-switch/RCSwitch.cpp
rc-switch/RCSwitch.h
)
2017-10-19 12:29:03 +00:00
target_link_libraries(${PROJECT_NAME}
wiringPi
)
target_include_directories(${PROJECT_NAME}
2017-10-19 11:57:55 +00:00
PUBLIC .
)