I would like to add library wiringPi.h to my Makefile in cmake, but cmake doesn't see this header.
cmake_minimum_required(VERSION 2.8)
project( program )
include_directories(include)
find_package( OpenCV REQUIRED )
add_executable( program program.cpp )
target_link_libraries( program ${OpenCV_LIBS} )
The project organization is:
|-- CMakeLists.txt
|
|-- program.cpp
|
|-- wiringPi.h
How should I add this header to Makefile?