mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
2a5f5c0e31
Add policy CMP0077 to change this behavior in a compatible way.
6 lines
149 B
CMake
6 lines
149 B
CMake
|
|
#Verify that option overwrites existing normal variable when the policy
|
|
#is set to OLD
|
|
set(OPT_LOCAL_VAR FALSE)
|
|
option(OPT_LOCAL_VAR "TEST_VAR" ON)
|