[Pkg-owncloud-commits] [owncloud-client] 131/333: CMake: Fix target_link_libraries parameters

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:44 UTC 2014


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

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

commit d5fd6309edc0187e09ad124dcd9a3cc9213033d0
Author: Markus Goetz <markus at woboq.com>
Date:   Wed Mar 12 15:03:11 2014 +0100

    CMake: Fix target_link_libraries parameters
---
 csync/src/CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/csync/src/CMakeLists.txt b/csync/src/CMakeLists.txt
index 899d52d..85c5fdd 100644
--- a/csync/src/CMakeLists.txt
+++ b/csync/src/CMakeLists.txt
@@ -32,7 +32,6 @@ set(CSYNC_LIBRARY
 )
 
 set(CSYNC_LINK_LIBRARIES
-  ${CSYNC_LIBRARY}
   ${CSTDLIB_LIBRARY}
   ${CSYNC_REQUIRED_LIBRARIES}
   ${SQLITE3_LIBRARIES}
@@ -102,7 +101,9 @@ include_directories(
 add_library(${CSYNC_LIBRARY} SHARED ${csync_SRCS})
 add_library(${CSYNC_LIBRARY}_static STATIC ${csync_SRCS})
 
-target_link_libraries(${CSYNC_LINK_LIBRARIES})
+target_link_libraries(${CSYNC_LIBRARY} ${CSYNC_LINK_LIBRARIES})
+target_link_libraries(${CSYNC_LIBRARY}_static ${CSYNC_LINK_LIBRARIES})
+
 
 set_target_properties(
   ${CSYNC_LIBRARY}

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



More information about the Pkg-owncloud-commits mailing list