osx: don't allow building a bundle when built without

BUILD_OWNCLOUD_OSX_BUNDLE
This commit is contained in:
Klaas Freitag 2012-05-16 15:11:30 +02:00
parent be7a1ca111
commit 57923529a5
1 changed files with 5 additions and 0 deletions

View File

@ -22,3 +22,8 @@ else()
set( CSYNC_PLUGIN_DIR "${MINGW_ROOT}/bin/csync-0" ) #FIXME: whatever it is
set( CSYNC_CONFIG_DIR "${MINGW_ROOT}/etc/csync" )
endif()
set( BUILD_OWNCLOUD_OSX_BUNDLE @BUILD_OWNCLOUD_OSX_BUNDLE@)
if(NOT BUILD_OWNCLOUD_OSX_BUNDLE)
message( FATAL_ERROR "You're trying to build a bundle although you haven't built mirall in bundle mode.\n Add -DBUILD_OWNCLOUD_O
endif()