summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-09 14:49:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-09 14:49:53 (GMT)
commit72190b923bd19bc9f9bddc6958ebb0cec28a5b98 (patch)
tree91b5afe2f928660ecd03134fca056b1caa87fc06
parent453df662bafe52ec87e0972323cf87ec737f3437 (diff)
parent61898de64180ce8123219f5e6450cb8375840045 (diff)
downloadCMake-72190b923bd19bc9f9bddc6958ebb0cec28a5b98.zip
CMake-72190b923bd19bc9f9bddc6958ebb0cec28a5b98.tar.gz
CMake-72190b923bd19bc9f9bddc6958ebb0cec28a5b98.tar.bz2
Merge topic 'pkgconfig_imported_target'
61898de6 PkgConfig: Fix FindPkgConfig imported target feature
-rw-r--r--Modules/FindPkgConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index 072a27a..3f75b19 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -193,7 +193,7 @@ function(_pkg_create_imp_target _prefix _no_cmake_path _no_cmake_environment_pat
foreach (flag IN LISTS ${_prefix}_LDFLAGS)
if (flag MATCHES "^-L(.*)")
# only look into the given paths from now on
- set(_find_opts "HINTS ${${CMAKE_MATCH_1}} NO_DEFAULT_PATH")
+ set(_find_opts HINTS ${CMAKE_MATCH_1} NO_DEFAULT_PATH)
continue()
endif()
if (flag MATCHES "^-l(.*)")