Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-22 Thread Philip Lowman
On Fri, Mar 20, 2009 at 8:03 AM, Dancefire dancef...@gmail.com wrote: On Fri, Mar 20, 2009 at 10:52 PM, Philip Lowman phi...@yhbt.com wrote: On Fri, Mar 20, 2009 at 2:38 AM, Dancefire dancef...@gmail.com wrote: Hi, Philip, I tested your script FindGTK2.cmake on my computer, I got some

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-20 Thread Dancefire
Hi, Philip, I tested your script FindGTK2.cmake on my computer, I got some problems, but I fixed them. The problem is that I install gtkmm only for current user, so the path can not be found at [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path], so I add some lines for

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-20 Thread Philip Lowman
On Fri, Mar 20, 2009 at 2:38 AM, Dancefire dancef...@gmail.com wrote: Hi, Philip, I tested your script FindGTK2.cmake on my computer, I got some problems, but I fixed them. The problem is that I install gtkmm only for current user, so the path can not be found at

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-20 Thread Dancefire
On Fri, Mar 20, 2009 at 10:52 PM, Philip Lowman phi...@yhbt.com wrote: On Fri, Mar 20, 2009 at 2:38 AM, Dancefire dancef...@gmail.com wrote: Hi, Philip, I tested your script FindGTK2.cmake on my computer, I got some problems, but I fixed them. The problem is that I install gtkmm only for

[CMake] Does CMake cannot handle directory name with space?

2009-03-19 Thread Dancefire
Hi, I'm working on a gtkmm program. I got success using CMake under Linux. However, I got problems when I try to use it under Windows. My gtkmm installation directory is E:\Program Files\gtkmm, I also use boost, which I unzipped it under E:\Program Files\boost_1_38_0. I put following lines in

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-19 Thread Werner Smekal
Hi, There are 2 problems I got. The first one is that CMake cannot find Boost library, which I just unzipped it to the above directory, since I only need some headers, no linking required. How find_package(boost) works? How can I make it find the boost library automatically, without

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-19 Thread Philip Lowman
On Thu, Mar 19, 2009 at 4:08 AM, Werner Smekal sme...@iap.tuwien.ac.atwrote: The second problem is that, for gtkmm, CMake found gtkmm, it is good, however, it breaks the path, E:\Program Files\gtkmm to E:\Program, and treat Files\gtkmm as the second arguments. So, in generated MSVC project

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-19 Thread Philip Lowman
On Thu, Mar 19, 2009 at 8:24 PM, Dancefire dancef...@gmail.com wrote: I'm using the latest stable version, 2.6.3, which is downloaded from http://www.cmake.org/cmake/resources/software.html Yes, the problem is most likely in FindPkgConfig.cmake:136. This module looks like it takes the output