diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-07 18:19:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-07 18:19:38 (GMT) |
commit | 4f44c7875f6d4769f5f3a246f3bbd07cd1410e22 (patch) | |
tree | 06935f5d54a9abcad9e7025bf01a59580e07cdd2 /Modules/FindPkgConfig.cmake | |
parent | 9afb2100c131e24b670850634b3358d16dccf624 (diff) | |
download | CMake-4f44c7875f6d4769f5f3a246f3bbd07cd1410e22.zip CMake-4f44c7875f6d4769f5f3a246f3bbd07cd1410e22.tar.gz CMake-4f44c7875f6d4769f5f3a246f3bbd07cd1410e22.tar.bz2 |
BUG: fix for bug 6117 pkgconfig
Diffstat (limited to 'Modules/FindPkgConfig.cmake')
-rw-r--r-- | Modules/FindPkgConfig.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index 1989d10..ea72491 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -317,12 +317,12 @@ endmacro(_pkg_check_modules_internal) ### macro(pkg_check_modules _prefix _module0) # check cached value - if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) + if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND) _pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN}) _pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules}) _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION}) - endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) + endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND) endmacro(pkg_check_modules) ### |