10 lines
191 B
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}<--")
|