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