mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
f7acc1266c
Follow up commit 0761186949
(project: Add variable
CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a
project-specific variant. This variable will be used similar to the
already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and
`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables.
Fixes: #19854
10 lines
185 B
CMake
10 lines
185 B
CMake
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)
|