project(sniffer) cmake_minimum_required(VERSION 3.6) set(CMAKE_CXX_STANDARD 11) add_library(${PROJECT_NAME} sniffer.cpp sniffer.h ) target_link_libraries(${PROJECT_NAME} rc-switch ) target_include_directories(${PROJECT_NAME} PUBLIC . )