From: Alan W. I. <ai...@us...> - 2006-07-15 01:32:28
|
Update of /cvsroot/plplot/plplot/cmake/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28764 Modified Files: pkg-config.cmake Log Message: Include UsePkgConfig module so that other modules can use it to find compile and link flag information for the software they depend on. Index: pkg-config.cmake =================================================================== RCS file: /cvsroot/plplot/plplot/cmake/modules/pkg-config.cmake,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pkg-config.cmake 12 Jul 2006 22:05:05 -0000 1.1 +++ pkg-config.cmake 15 Jul 2006 01:32:21 -0000 1.2 @@ -34,8 +34,12 @@ # PKG_CONFIG_ENV - the string PKG_CONFIG_PATH=${PKG_CONFIG_DIR} which # is used in example builds. + message(STATUS "Looking for pkg-config") -find_program(PKGCONFIG_EXECUTABLE NAMES pkg-config PATHS /usr/local/bin) +# Following line is in UsePkgConfig.cmake so comment it out. +# find_program(PKGCONFIG_EXECUTABLE NAMES pkg-config PATHS /usr/local/bin) +# Make PKGCONFIG_EXECUTABLE available as well as the PKGCONFIG macro. +include(UsePkgConfig) set(pkg_config_false "#") |