From: Daisuke Fujimura (fd0) Date: Thu, 9 Mar 2023 13:16:13 +0000 (+0900) Subject: Shared libraries on cygwin can be named with their version number X-Git-Tag: 2.1.0-beta1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcba18927722da06c5bacc3799526cb11ab2b250;p=thirdparty%2Fzlib-ng.git Shared libraries on cygwin can be named with their version number --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 466d12deb..9ed3b2417 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1102,7 +1102,7 @@ if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS) set_target_properties(zlib PROPERTIES INSTALL_NAME_DIR "${LIB_INSTALL_DIR}") endif() endif() - if(MSYS OR CYGWIN) + if(MSYS) # Suppress version number from shared library name set(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 0) elseif(WIN32)