mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
Merge topic 'pkgconfig_imported_target'
61898de6
PkgConfig: Fix FindPkgConfig imported target feature
This commit is contained in:
commit
72190b923b
@ -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(.*)")
|
||||
|
Loading…
Reference in New Issue
Block a user