Files
CMake/Tests/RunCMake/CommandLine/warn-uninitialized.cmake
R2RT 53a5aec899 CMP0053: Fix double warning on uninitialized variables in -P mode
When `CMP0053` is not set to OLD or NEW then we compute both variants
in case we need to warn about a behavior change.  Do not allow both
code paths to produce an uninitialized variable warning.

Fixes: #18552
2018-11-05 08:31:09 -05:00

2 lines
42 B
CMake

set(FOO "${WARN_FROM_NORMAL_CMAKE_FILE}")