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

10 lines
191 B
CMake

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