From: Michael Wallner Date: Thu, 23 Feb 2023 10:12:27 +0000 (+0100) Subject: fix #136: libmemcachedutil is underlinked X-Git-Tag: 1.1.4~11 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f3c8c900e86e36e9817aa35411a35a92ed2714f2;p=awesomized%2Flibmemcached fix #136: libmemcachedutil is underlinked --- diff --git a/src/libmemcachedutil/CMakeLists.txt b/src/libmemcachedutil/CMakeLists.txt index 1531cb81..1fd0fa39 100644 --- 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()