summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/CMP0053-At-NEW.cmake
blob: 40dbe46c59f2f636716a180e279aa26bb037e895 (plain)
1
2
3
4
5
6
7
8
9
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}<--")