[x265] CMake 3.1.0-rc1 changed policies (/VisualLeakDetector)
Mario *LigH* Rohkrämer
contact at ligh.de
Thu Nov 13 10:35:31 CET 2014
Possibly neither escaping nor "quotes in quotes" may work.
But I got a suggestion from Nils Gladitz via the CMake mailing list to
solve this in 2 steps, keeping the name of the environment variable in a
CMake variable (where the assignment can be quoted) and have a nested
evaluation:
set(PROGWIN64 "PROGRAMFILES")
set(PROGWIN32 "PROGRAMFILES(X86)")
...
"$ENV{${PROGWIN64}}/Visual Leak Detector"
"$ENV{${PROGWIN32}}/Visual Leak Detector"
Or similar names. Your choice.
--
Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
More information about the x265-devel
mailing list