Alexander Neundorf <[EMAIL PROTECTED]> writes: > when crosscompiling, pkg_config shouldn't find packages for the host system, > but for the target system.
Host pkgconfig path will *always* be tried by pkgcofig; regardless of setting of $PKG_CONFIG_PATH. Use a target specific 'pkgconfig' tool (e.g. arm-xscale-linux-gnu-pkgconfig) which is build with proper default searchpaths. Hence, do not bother with $PKG_CONFIG_PATH env, but change detection of pkgconfig executable so that target binaries are preferred. Enrico _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
