Re: [CMake] pkg-config and Cross_compiling

2008-07-07 Thread Alexander Neundorf
On Monday 07 July 2008, Hendrik Sattler wrote: Zitat von Alexander Neundorf [EMAIL PROTECTED]: On Wednesday 02 July 2008, Hendrik Sattler wrote: Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey: ... Additionally, I found that the include paths are another source of problems, not

[CMake] pkg-config and Cross_compiling

2008-07-02 Thread Wookey
OK. I have a cmake project and now 2.6 is out I am able to try cross-compiling. Initially I found that setting CMAKE_FIND_ROOT_PATH in my toolchina file didn't make any difference - eventually I worked out that that was becuase the project CMakeLists.txt file didn;t use any of the FIND_FILE

Re: [CMake] pkg-config and Cross_compiling

2008-07-02 Thread Hendrik Sattler
Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey: I tried to fix the FindPkgConfig.cmake file to automaticaly do this, but found that it uses execute_process to call pkg-config and there seems to be no way to set an environment variable with this call. Am I missing something? Fixing this

Re: [CMake] pkg-config and Cross_compiling

2008-07-02 Thread Wookey
On 2008-07-02 19:39 +0200, Hendrik Sattler wrote: Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey: I tried to fix the FindPkgConfig.cmake file to automaticaly do this, but found that it uses execute_process to call pkg-config and there seems to be no way to set an environment variable