From 095376839d8179e038b97f2a30f12c433477bc21 Mon Sep 17 00:00:00 2001 From: alqualos Date: Sun, 3 Jan 2016 06:01:40 +0000 Subject: [PATCH] Version suffix for static lib (CMake patch #26) --- quazip/quazip/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quazip/quazip/CMakeLists.txt b/quazip/quazip/CMakeLists.txt index 04f6946..b6b8ab6 100644 --- a/quazip/quazip/CMakeLists.txt +++ b/quazip/quazip/CMakeLists.txt @@ -20,7 +20,7 @@ add_library(quazip_static STATIC ${SRCS}) # Windows uses .lib extension for both static and shared library # *nix systems use different extensions for SHARED and STATIC library and by convention both libraries have the same name if (NOT WIN32) - set_target_properties(quazip_static PROPERTIES OUTPUT_NAME quazip) + set_target_properties(quazip_static PROPERTIES OUTPUT_NAME quazip${QUAZIP_LIB_VERSION_SUFFIX}) endif () set_target_properties(${QUAZIP_LIB_TARGET_NAME} quazip_static PROPERTIES VERSION 1.0.0 SOVERSION 1 DEBUG_POSTFIX d)