From: Michael Wallner Date: Wed, 4 Nov 2020 11:13:23 +0000 (+0100) Subject: do not use VERSION target property; confuses OpenBSD's ld X-Git-Tag: 1.1.0-beta1~127 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=26f53452d85d209c5275da203c9947135a8ec667;p=awesomized%2Flibmemcached do not use VERSION target property; confuses OpenBSD's ld --- diff --git a/src/libhashkit/CMakeLists.txt b/src/libhashkit/CMakeLists.txt index 3b4551db..82e4d332 100644 --- a/src/libhashkit/CMakeLists.txt +++ b/src/libhashkit/CMakeLists.txt @@ -27,8 +27,7 @@ set_target_properties(libhashkit PROPERTIES CXX_STANDARD ${CXX_STANDARD} LIBRARY_OUTPUT_NAME hashkit LIBRARY_OUTPUT_NAME_DEBUG hashkit-dbg - SOVERSION ${LIBHASHKIT_SO_VERSION} - VERSION v${LIBHASHKIT_VERSION}) + SOVERSION ${LIBHASHKIT_SO_VERSION}) target_compile_options(libhashkit PRIVATE -DBUILDING_HASHKIT) target_include_directories(libhashkit PRIVATE ${CMAKE_SOURCE_DIR}/src diff --git a/src/libmemcached/CMakeLists.txt b/src/libmemcached/CMakeLists.txt index 2c1e61ac..f43e5adb 100644 --- a/src/libmemcached/CMakeLists.txt +++ b/src/libmemcached/CMakeLists.txt @@ -88,8 +88,7 @@ set_target_properties(libmemcached PROPERTIES CXX_STANDARD ${CXX_STANDARD} LIBRARY_OUTPUT_NAME memcached LIBRARY_OUTPUT_NAME_DEBUG memcached-dbg - SOVERSION ${LIBMEMCACHED_SO_VERSION} - VERSION v${LIBMEMCACHED_VERSION}) + SOVERSION ${LIBMEMCACHED_SO_VERSION}) target_compile_definitions(libmemcached PRIVATE -DBUILDING_LIBMEMCACHED) target_link_libraries(libmemcached PUBLIC libhashkit Threads::Threads ${CMAKE_DL_LIBS}) if(HAVE_BACKTRACE) diff --git a/src/libmemcachedprotocol/CMakeLists.txt b/src/libmemcachedprotocol/CMakeLists.txt index bf7c8ca9..915a3da1 100644 --- a/src/libmemcachedprotocol/CMakeLists.txt +++ b/src/libmemcachedprotocol/CMakeLists.txt @@ -12,8 +12,7 @@ set_target_properties(libmemcachedprotocol PROPERTIES CXX_STANDARD ${CXX_STANDARD} LIBRARY_OUTPUT_NAME memcachedprotocol LIBRARY_OUTPUT_NAME_DEBUG memcachedprotocol-dbg - SOVERSION ${LIBMEMCACHEDPROTOCOL_SO_VERSION} - VERSION v${LIBMEMCACHEDPROTOCOL_VERSION}) + SOVERSION ${LIBMEMCACHEDPROTOCOL_SO_VERSION}) target_compile_definitions(libmemcachedprotocol PRIVATE -DBUILDING_LIBMEMCACHED) if(CMAKE_CXX_COMPILER_ID STREQUAL AppleClang) set_target_properties(libmemcachedprotocol PROPERTIES diff --git a/src/libmemcachedutil/CMakeLists.txt b/src/libmemcachedutil/CMakeLists.txt index 6bad745b..594099bf 100644 --- a/src/libmemcachedutil/CMakeLists.txt +++ b/src/libmemcachedutil/CMakeLists.txt @@ -13,8 +13,7 @@ set_target_properties(libmemcachedutil PROPERTIES CXX_STANDARD ${CXX_STANDARD} LIBRARY_OUTPUT_NAME memcachedutil LIBRARY_OUTPUT_NAME_DEBUG memcachedutil-dbg - SOVERSION ${LIBMEMCACHEDUTIL_SO_VERSION} - VERSION v${LIBMEMCACHEDUTIL_VERSION}) + SOVERSION ${LIBMEMCACHEDUTIL_SO_VERSION}) target_compile_definitions(libmemcachedutil PRIVATE -DBUILDING_LIBMEMCACHED) if(CMAKE_CXX_COMPILER_ID STREQUAL AppleClang) set_target_properties(libmemcachedutil PROPERTIES