projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c3526f7
)
cmake: fix LDFLAGS for external libs
author
Michael Wallner
<mike@php.net>
Thu, 27 Feb 2020 09:34:30 +0000
(10:34 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 27 Feb 2020 09:34:30 +0000
(10:34 +0100)
CMake/CheckDependency.cmake
patch
|
blob
|
history
diff --git
a/CMake/CheckDependency.cmake
b/CMake/CheckDependency.cmake
index e1bdd5b900ab7eefa08e72d3749cff07c778ee4d..3cb575354562ac81a36956531a1201a396a47786 100644
(file)
--- a/
CMake/CheckDependency.cmake
+++ b/
CMake/CheckDependency.cmake
@@
-10,8
+10,8
@@
function(check_dependency NAME LIB HEADER)
pkg_check_modules(${NAME} ${LIB}${ARGN})
endif()
set(${NAME} ${${NAME}_FOUND} PARENT_SCOPE)
-
set(${NAME}_LIBRARIES ${${NAME}_LIBRARIE
S} PARENT_SCOPE)
- set(${NAME}_INCLUDEDIR ${${NAME}_INCLUDEDIR}
}
PARENT_SCOPE)
+
set(${NAME}_LIBRARIES ${${NAME}_LDFLAG
S} PARENT_SCOPE)
+ set(${NAME}_INCLUDEDIR ${${NAME}_INCLUDEDIR} PARENT_SCOPE)
safe_string(${LIB} LIB_CONST)
set(HAVE_${NAME} ${${NAME}_FOUND} PARENT_SCOPE)