Set variables such as CFLAGS in CMake project
Easy alternative way to set CFLAGS in the output from CMake
Edit the CMakeLists.txt file and add a line with your flags such as:
set(CMAKE_C_FLAGS "-I/usr/local/include/")
Edit the CMakeLists.txt file and add a line with your flags such as:
set(CMAKE_C_FLAGS "-I/usr/local/include/")