Moved -DRPI to RCSwitch project

This commit is contained in:
mandlm 2017-10-19 16:56:04 +02:00
parent 35d3428321
commit 823ebbe42d
3 changed files with 7 additions and 6 deletions

View File

@ -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)

View File

@ -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
)

View File

@ -1,6 +1,6 @@
#pragma once
#include "rc-switch/RCSwitch.h"
#include "RCSwitch.h"
class Sniffer
{