[Pkg-owncloud-commits] [qtkeychain] 21/115: win: fix building statically

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Mar 15 19:25:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository qtkeychain.

commit 5f15aa477e7ebb6ab65badefd4a63acb5a752465
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date:   Wed May 2 01:55:31 2012 +0200

    win: fix building statically
---
 CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5c553b..e94fd7b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,8 @@ endif()
 if(NOT QTKEYCHAIN_STATIC)
     add_library(qtkeychain SHARED ${qtkeychain_SOURCES})
     set_target_properties(qtkeychain PROPERTIES COMPILE_DEFINITIONS QKEYCHAIN_BUILD_QKEYCHAIN_LIB)
-    target_link_libraries(qtkeychain ${qtkeychain_LIBRARIES} )
+    target_link_libraries(qtkeychain ${qtkeychain_LIBRARIES})
 else()
     add_library(qtkeychain STATIC ${qtkeychain_SOURCES})
-endif()
\ No newline at end of file
+    set_target_properties(qtkeychain PROPERTIES COMPILE_DEFINITIONS QKEYCHAIN_STATICLIB)
+endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git



More information about the Pkg-owncloud-commits mailing list