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