summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly/ProjectIncludeBefore/include.cmake
blob: 0a4799df35d89c224a7756a4e5e7f15aadd56035 (plain)
1
2
3
4
5
6
7
8
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)