diff options
author | Brad King <brad.king@kitware.com> | 2015-06-01 13:37:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-01 13:37:34 (GMT) |
commit | 836c4e9314f5afbde132ae34ed5cbfd5e422f905 (patch) | |
tree | 037da318de15e6d19aca6fdbf2696ded56ea3085 /Modules | |
parent | 02c4aa1f97f5436e3f2f2ba07c492a24bad04c4f (diff) | |
parent | d4c6531a945564d230200512c680ca8570b10a6c (diff) | |
download | CMake-836c4e9314f5afbde132ae34ed5cbfd5e422f905.zip CMake-836c4e9314f5afbde132ae34ed5cbfd5e422f905.tar.gz CMake-836c4e9314f5afbde132ae34ed5cbfd5e422f905.tar.bz2 |
Merge topic 'FindPkgConfig_fix_extra_path'
d4c6531a FindPkgConfig: Fix extra paths for CMAKE_{FRAMEWORK,APPBUNDLE}_PATH vars
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPkgConfig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index 64ccde5..53c17f1 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -149,7 +149,7 @@ function(_pkgconfig_add_extra_path _extra_paths_var _var) endif() if(NOT _is_env) if(NOT "${${_var}}" STREQUAL "") - list(APPEND ${_extra_paths_var} ${CMAKE_PREFIX_PATH}) + list(APPEND ${_extra_paths_var} ${${_var}}) endif() else() if(NOT "$ENV{${_var}}" STREQUAL "") |