You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
165 B
10 lines
165 B
3 years ago
|
|
||
|
cmake_policy(SET CMP0126 NEW)
|
||
|
|
||
|
set(VAR 1)
|
||
|
set(VAR 2 CACHE STRING "")
|
||
|
|
||
|
if (NOT VAR EQUAL 1)
|
||
|
message(FATAL_ERROR "normal variable does not exist anymore.")
|
||
|
endif()
|