mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
d96eb55282
Fixes: #22038
10 lines
154 B
CMake
10 lines
154 B
CMake
|
|
cmake_policy(SET CMP0126 OLD)
|
|
|
|
set(VAR 1)
|
|
set(VAR 2 CACHE STRING "")
|
|
|
|
if (NOT VAR EQUAL 3)
|
|
message(FATAL_ERROR "normal variable still exist.")
|
|
endif()
|