kde's cmake files/macros

Brad King brad.king at kitware.com
Fri Feb 10 00:14:14 CET 2006


William A. Hoffman wrote:
> To handle spaces in the path, you need to double quote some things.
> 
> This should work:
> 
> SET(MS_SDK_DIR "$ENV{MSSdk}")
> IF (MS_SDK_DIR)
>          SET(KDEWIN32_INCLUDES ${KDEWIN32_INCLUDES} "${MS_SDK_DIR}" )
> ENDIF (MS_SDK_DIR)

This is not correct.  Please disregard.  CMake separates arguments in 
unquoted variable evaluations when there are semicolons, not spaces. 
There should be no problem with spaces in the path for unquoted variable 
dereferences in CMake.

-Brad


More information about the Kde-buildsystem mailing list