CMake/Tests/RunCMake/option/RunCMakeTest.cmake
Robert Maynard f8a7cf85ad option: No CMP077 warnings when both cache and local variable exists
Previously we would warn when the local and cache version of a variable
exists, but this use case doesn't need a warning as it maintains backwards
compatibility.
2018-07-10 13:56:15 -04:00

7 lines
120 B
CMake

include(RunCMake)
run_cmake(CMP0077-OLD)
run_cmake(CMP0077-NEW)
run_cmake(CMP0077-WARN)
run_cmake(CMP0077-SECOND-PASS)