summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-21 13:08:25 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-21 13:08:25 (GMT)
commit2c3b8a1cd801a8c3c5331d8345bf8ed6d9e38595 (patch)
tree542e5c948272622ee75902124e639af01855447a /Modules
parentd9857c84574a8bd5c2d6739580fa98b6b2f8cefc (diff)
parent6f4f90548353d9e329bd4ddb2f7492788f28f0e1 (diff)
downloadCMake-2c3b8a1cd801a8c3c5331d8345bf8ed6d9e38595.zip
CMake-2c3b8a1cd801a8c3c5331d8345bf8ed6d9e38595.tar.gz
CMake-2c3b8a1cd801a8c3c5331d8345bf8ed6d9e38595.tar.bz2
Merge branch 'fix-repeat-pkg-config' into release
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPkgConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index 4f50e38..447c526 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -383,7 +383,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _no_cmake_path _no_cma
pkg_get_variable("${_pkg_check_prefix}_INCLUDEDIR" ${_pkg_check_modules_pkg} "includedir")
pkg_get_variable("${_pkg_check_prefix}_LIBDIR" ${_pkg_check_modules_pkg} "libdir")
foreach (variable IN ITEMS PREFIX INCLUDEDIR LIBDIR)
- _pkgconfig_set("${_pkg_check_modules_pkg}_${variable}" "${${_pkg_check_modules_pkg}_${variable}}")
+ _pkgconfig_set("${_pkg_check_prefix}_${variable}" "${${_pkg_check_prefix}_${variable}}")
endforeach ()
if (NOT ${_is_silent})