cmake/Tests/CMakeOnly/ProjectIncludeBeforeAny/CMakeLists.txt

6 lines
130 B

set(FOO TRUE)
project(ProjectInclude LANGUAGES NONE)
if(NOT AUTO_INCLUDE)
message(FATAL_ERROR "include file not found")
endif()