I know that there is a flag that can be used in makefile to include a header file in all the files which are being compiled, just like there is a -D flag to include a define
something like this maybe? include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)