[Pkg-owncloud-commits] [owncloud-client] 80/103: Another fix for make install on MacOSX
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Apr 30 18:09:01 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 b42d3ced15cfc0590634bb3be72b12ef7872fa13
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Apr 28 11:19:25 2014 +0200
Another fix for make install on MacOSX
---
csync/src/CMakeLists.txt | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/csync/src/CMakeLists.txt b/csync/src/CMakeLists.txt
index 89533aa..5b49904 100644
--- a/csync/src/CMakeLists.txt
+++ b/csync/src/CMakeLists.txt
@@ -109,8 +109,19 @@ set_target_properties(
SOVERSION
${LIBRARY_SOVERSION}
)
-if(NOT BUILD_OWNCLOUD_OSX_BUNDLE)
-INSTALL(
+if(BUILD_OWNCLOUD_OSX_BUNDLE)
+ INSTALL(
+ TARGETS
+ ${CSYNC_LIBRARY}
+ LIBRARY DESTINATION
+ ${LIB_INSTALL_DIR}
+ ARCHIVE DESTINATION
+ ${LIB_INSTALL_DIR}
+ RUNTIME DESTINATION
+ ${BIN_INSTALL_DIR}
+ )
+else()
+ INSTALL(
TARGETS
${CSYNC_LIBRARY}
LIBRARY DESTINATION
@@ -119,7 +130,7 @@ INSTALL(
${LIB_INSTALL_DIR}/${APPLICATION_EXECUTABLE}
RUNTIME DESTINATION
${BIN_INSTALL_DIR}/${APPLICATION_EXECUTABLE}
-)
+ )
endif()
# INSTALL(
--
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