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

10 lines
187 B
CMake
Raw Normal View History

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}<--")