mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
10 lines
165 B
CMake
10 lines
165 B
CMake
|
|
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()
|