9090572f5c
If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, the file pointed to by that variable will be included as the last step of the project command.
5 lines
101 B
CMake
5 lines
101 B
CMake
project(ProjectInclude)
|
|
if(NOT AUTO_INCLUDE)
|
|
message(FATAL_ERROR "include file not found")
|
|
endif()
|