CMake/Tests/RunCMake/Syntax/CMP0053-At-OLD.cmake

10 lines
187 B
CMake

cmake_policy(SET CMP0053 OLD)
set(right "wrong")
set(var "\${right}")
# Expanded here with the old policy.
set(ref "@var@")
string(CONFIGURE "${ref}" output)
message("-->${output}<--")