[Pkg-owncloud-commits] [owncloud-client] 40/89: Don't install headers on OS X

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:34 UTC 2013


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 2cf7ba91c131d35752009207e055223f9dbefe26
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Mon Dec 9 20:39:55 2013 +0100

    Don't install headers on OS X
---
 src/CMakeLists.txt | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4bd8b6b..ae4d1b9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -145,25 +145,21 @@ set(owncloudsync_HEADERS
     mirall/syncresult.h
 )
 
-INSTALL(
-  FILES
-    ${owncloudsync_HEADERS}
-  DESTINATION
-    ${INCLUDE_INSTALL_DIR}/owncloudsync/mirall
-)
-
 set(creds_HEADERS
     creds/abstractcredentials.h
     creds/httpcredentials.h
 )
 
-INSTALL(
-  FILES
-    ${creds_HEADERS}
-  DESTINATION
-    ${INCLUDE_INSTALL_DIR}/owncloudsync/creds
-)
-
+IF (NOT APPLE)
+    INSTALL(
+        FILES ${owncloudsync_HEADERS}
+        DESTINATION ${INCLUDE_INSTALL_DIR}/owncloudsync/mirall
+    )
+    INSTALL(
+        FILES ${creds_HEADERS}
+        DESTINATION ${INCLUDE_INSTALL_DIR}/owncloudsync/creds
+    )
+ENDIF(NOT APPLE)
 
 IF( DEFINED CSYNC_BUILD_PATH )
 SET(HTTPBF_LIBRARY ${CSYNC_BUILD_PATH}/src/httpbf/libhttpbf.a)

-- 
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