Moved rc-switch to sub-project
This commit is contained in:
parent
6c9646291e
commit
bb82ff8317
4 changed files with 15 additions and 7 deletions
|
@ -9,11 +9,6 @@ set(CMAKE_AUTOUIC ON)
|
|||
|
||||
add_definitions(-DRPI)
|
||||
|
||||
add_library(rc-switch
|
||||
rc-switch/RCSwitch.cpp
|
||||
rc-switch/RCSwitch.h
|
||||
)
|
||||
|
||||
add_executable(qSniff
|
||||
qsniff.cpp
|
||||
mainwindow.cpp
|
||||
|
@ -35,3 +30,5 @@ add_executable(Sniff
|
|||
|
||||
target_link_libraries(Sniff rc-switch wiringPi)
|
||||
|
||||
add_subdirectory(RCSwitch)
|
||||
|
||||
|
|
11
source/RCSwitch/CMakeLists.txt
Normal file
11
source/RCSwitch/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
add_library(rc-switch
|
||||
rc-switch/RCSwitch.cpp
|
||||
rc-switch/RCSwitch.h
|
||||
)
|
||||
|
||||
target_include_directories(rc-switch
|
||||
PUBLIC .
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue