]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Shared libraries on cygwin can be named with their version number
authorDaisuke Fujimura (fd0) <booleanlabel@gmail.com>
Thu, 9 Mar 2023 13:16:13 +0000 (22:16 +0900)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 1 Apr 2023 15:27:36 +0000 (17:27 +0200)
CMakeLists.txt

index 466d12deb3d05b9bb51c903e9bb70375b58ec3fa..9ed3b24175b855444533042e6e7b9253ef62f360 100644 (file)
@@ -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)