FIND_PROGRAM on Windows

William A. Hoffman billlist at nycap.rr.com
Mon May 8 22:57:59 CEST 2006


At 04:54 PM 5/8/2006, Paulo Moura Guedes wrote:
>On Monday 08 May 2006 21:35, William A. Hoffman wrote:
>
>> To put a value with spaces in the path in a variable in cmake, you
>> must double quote it.
>>
>> set(SOMEPATH "c:/program files/foobar")
>> set(PATHVAR "${SOMEPATH}")
>>
>> So, if there are problems with spaces, the stuff should be changed
>> to double quote variables.
>
>So, the question now is, do we want to support spaces in the paths?

It was already stated that you did, and for windows you almost have to.
The dashboard I run on dash17 has spaces in the path, and several
things have already been fixed.

-Bill



More information about the Kde-buildsystem mailing list