diff options
Diffstat (limited to 'Tests/CMakeOnly/ProjectIncludeBeforeAny/include.cmake')
-rw-r--r-- | Tests/CMakeOnly/ProjectIncludeBeforeAny/include.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CMakeOnly/ProjectIncludeBeforeAny/include.cmake b/Tests/CMakeOnly/ProjectIncludeBeforeAny/include.cmake new file mode 100644 index 0000000..0a4799d --- /dev/null +++ b/Tests/CMakeOnly/ProjectIncludeBeforeAny/include.cmake @@ -0,0 +1,9 @@ +if(NOT FOO) + message(FATAL_ERROR "FOO is not set") +endif() + +if(NOT "${PROJECT_NAME}" STREQUAL "") + message(FATAL_ERROR "PROJECT_NAME should be empty") +endif() + +set(AUTO_INCLUDE TRUE) |