Commit 51112aaa authored by Brad King's avatar Brad King
Browse files

Merge branch 'pkgconfig_imported_target' into release

parents adf5f253 61898de6
...@@ -193,7 +193,7 @@ function(_pkg_create_imp_target _prefix _no_cmake_path _no_cmake_environment_pat ...@@ -193,7 +193,7 @@ function(_pkg_create_imp_target _prefix _no_cmake_path _no_cmake_environment_pat
foreach (flag IN LISTS ${_prefix}_LDFLAGS) foreach (flag IN LISTS ${_prefix}_LDFLAGS)
if (flag MATCHES "^-L(.*)") if (flag MATCHES "^-L(.*)")
# only look into the given paths from now on # 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() continue()
endif() endif()
if (flag MATCHES "^-l(.*)") if (flag MATCHES "^-l(.*)")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment