FIND_PROGRAM on Windows

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


At 03:01 PM 5/8/2006, Paulo Moura Guedes wrote:


>Thanks.
>What about the space dir problem (FINDKDE4 win32/Thursday 18:10:03 and 
>18:37:31), what do you think?

What is the question again?  

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.

-Bill




More information about the Kde-buildsystem mailing list