[x265] CMake 3.1.0-rc1 changed policies (/VisualLeakDetector)

Mario *LigH* Rohkrämer contact at ligh.de
Thu Nov 13 09:05:18 CET 2014


Am 13.11.2014, 00:12 Uhr, schrieb Steve Borho <steve at borho.org>:

> If you edit line 61 of x265/source/cmake/FindVLD.cmake and
> change
>
>   "$ENV{PROGRAMFILES(X86)}/Visual Leak Detector"
>
> to
>
>   "$ENV{PROGRAMFILES\(X86\)}/Visual Leak Detector"
>
> Does it make cmake 3.1 happy?

No, then it errors out.

+----
CMake Error at cmake/FindVLD.cmake:57 (FIND_PATH):
   Syntax error in cmake code at

     h:/MSYS/home/Entwicklung/x265/source/cmake/FindVLD.cmake:61

   when parsing string

     $ENV{PROGRAMFILES\(X86\)}/Visual Leak Detector

   syntax error, unexpected cal_SYMBOL, expecting } (19)
Call Stack (most recent call first):
   CMakeLists.txt:206 (find_package)


-- Configuring incomplete, errors occurred!
See also  
"H:/MSYS/home/Entwicklung/x265/build/msys/CMakeFiles/CMakeOutput.log".
See also  
"H:/MSYS/home/Entwicklung/x265/build/msys/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
+----
^ 3 times

Mentioned log files were not updated (not created when deleted before).

With the previous content (no escape backslashes), CMake 3.0.2 does not  
yet complain, CMake 3.1.0-rc1 only warns but continues; maybe I can get in  
contact with CMake developers about it.

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list