This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
qSniff/source/RCSwitch/CMakeLists.txt

22 lines
307 B
CMake

project(rc-switch)
cmake_minimum_required(VERSION 3.6)
add_library(${PROJECT_NAME}
rc-switch/RCSwitch.cpp
rc-switch/RCSwitch.h
)
target_link_libraries(${PROJECT_NAME}
wiringPi
)
target_include_directories(${PROJECT_NAME}
PUBLIC rc-switch
)
target_compile_definitions(${PROJECT_NAME}
PUBLIC RPI
)