diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-12-09 23:39:55 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-12-09 23:39:55 +0400 |
commit | 2cf7ba91c131d35752009207e055223f9dbefe26 (patch) | |
tree | a6b543618355571fd7074ca703a1196938cc6aa8 | |
parent | f8478ac27b90987d1c8025a286c471c7aac6498e (diff) |
Don't install headers on OS Xv1.5.0-beta3
-rw-r--r-- | src/CMakeLists.txt | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4bd8b6b64..ae4d1b9b6 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) |