Moved -DRPI to RCSwitch project
This commit is contained in:
parent
35d3428321
commit
823ebbe42d
@ -1,9 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
add_definitions(-DRPI)
|
||||
|
||||
add_subdirectory(RCSwitch)
|
||||
add_subdirectory(sniffer)
|
||||
add_subdirectory(qsniff)
|
||||
|
@ -11,6 +11,11 @@ target_link_libraries(${PROJECT_NAME}
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC .
|
||||
PUBLIC rc-switch
|
||||
)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME}
|
||||
PUBLIC RPI
|
||||
)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "rc-switch/RCSwitch.h"
|
||||
#include "RCSwitch.h"
|
||||
|
||||
class Sniffer
|
||||
{
|
||||
|
Reference in New Issue
Block a user