[x265] CMake 3.1.0-rc1 changed policies (/VisualLeakDetector)
Steve Borho
steve at borho.org
Thu Nov 13 18:22:30 CET 2014
On 11/13, Mario *LigH* Rohkrämer wrote:
> 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.
Ok, thanks Mario. This seems a respectable solution to the problem.
--
Steve Borho
More information about the x265-devel
mailing list