projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
9d22d31
)
fix #136: libmemcachedutil is underlinked
author
Michael Wallner
<mike@php.net>
Thu, 23 Feb 2023 10:12:27 +0000
(11:12 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 23 Feb 2023 10:35:05 +0000
(11:35 +0100)
src/libmemcachedutil/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/libmemcachedutil/CMakeLists.txt
b/src/libmemcachedutil/CMakeLists.txt
index 1531cb81df76abf3f83e5b547b127255c40712bb..1fd0fa39895cc7bf6f71c232ddc6d90a37d9764a 100644
(file)
--- a/
src/libmemcachedutil/CMakeLists.txt
+++ b/
src/libmemcachedutil/CMakeLists.txt
@@
-23,10
+23,7
@@
if(CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
LINK_FLAGS "-Wl,-undefined,dynamic_lookup"
)
endif()
-if(MSVC OR MINGW)
- target_link_libraries(libmemcachedutil PUBLIC libmemcached)
-endif()
-target_link_libraries(libmemcachedutil PUBLIC Threads::Threads)
+target_link_libraries(libmemcachedutil PUBLIC libmemcached Threads::Threads)
if(HAVE_LIBSASL)
target_link_libraries(libmemcachedutil PUBLIC ${LIBSASL})
endif()