 +target_link_libraries(${SEND_EXE_NAME}
 +  ${WIRINGPI_LIBRARY}
 +  ${RCSWITCH_LIBRARY}
++  ${CMAKE_THREAD_LIBS_INIT}
 +)
 +
 +##############################################

+  message(STATUS "rc-switch headers found ${RCSWITCH_INCLUDE_DIRS}")
+endif()
+
+add_definitions(-std=c++11 -Wfatal-errors)
+add_definitions(-DRPI)
+

Subject: [PATCH] Add CMakeLists.txt

---
 RPi_utils/CMakeLists.txt | 77 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)
 create mode 100644 RPi_utils/CMakeLists.txt

diff --git a/RPi_utils/CMakeLists.txt b/RPi_utils/CMakeLists.txt
