multiple pathes in cmake variables

Brad King brad.king at kitware.com
Fri Feb 10 15:27:28 CET 2006


Ralf Habacker wrote:
> Hi,
> 
> kdewin32 requires two additional pathes to include. I have tried
> 
> KDEWIN32_INCLUDE_DIR:PATH=c:\daten\kde4\kdelibs\win\include;c:\daten\kde4\kdelibs\win\include\mingw;
> 
> but this results into an error.
> 
> C:\Daten\kde4\CMake\bin\cmake.exe -E cmake_depends  "MinGW Makefiles" 
> C:\Daten\kde4\kdelibs C:\Daten\kde4\kdelibs\dcop C:\Daten\kde4\kde
> \dcop\CMakeFiles\DCOP.dir\DependInfo.cmake
> CMake Error: Invalid escape sequence \d

Use forward slashes for paths in CMake code:

cmake . 
"-DKDEWIN32_INCLUDE_DIR:PATH=c:/daten/kde4/kdelibs/win/include;c:/daten/kde4/kdelibs/win/include/mingw"

-Brad


More information about the Kde-buildsystem mailing list