[CMake] anybody crosscompiling and using pkg_config ?

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jul 18 18:04:03 EDT 2008


Hi,

when crosscompiling, pkg_config shouldn't find packages for the host system, 
but for the target system. 
Attached is a patch against current cmake cvs which tries to do that by 
setting the env var PKG_CONFIG_LIBDIR to /usr/lib/pkgconfig 
and /usr/local/lib/pkgconfig inside the directories of CMAKE_FIND_ROOT_PATH.

So, can somebody please test the attached patch ?

Thanks
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg_config.diff
Type: text/x-diff
Size: 2813 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080719/f4d8204d/attachment.diff>


More information about the CMake mailing list