Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
owncloud-client15
> cmake.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cmake.diff of Package owncloud-client15 (Revision 1)
Currently displaying revision
1
,
show latest
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d53962..b8a0c0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,20 +56,20 @@ set(DATADIR ${DATA_INSTALL_DIR}) ##### ## handle BUILD_OWNCLOUD_OSX_BUNDLE # BUILD_OWNCLOUD_OSX_BUNDLE was not initialized OR set to true on OSX -if(APPLE AND (NOT DEFINED BUILD_OWNCLOUD_OSX_BUNDLE OR BUILD_OWNCLOUD_OSX_BUNDLE)) - set(BUILD_OWNCLOUD_OSX_BUNDLE ON) - set(OWNCLOUD_OSX_BUNDLE "${APPLICATION_EXECUTABLE}.app") - set(LIB_INSTALL_DIR "${APPLICATION_EXECUTABLE}.app/Contents/MacOS") - set(BIN_INSTALL_DIR "${APPLICATION_EXECUTABLE}.app/Contents/MacOS") - -# BUILD_OWNCLOUD_OSX_BUNDLE was disabled on OSX -elseif(APPLE AND NOT BUILD_OWNCLOUD_OSX_BUNDLE) - message(FATAL_ERROR "Building in non-bundle mode on OSX is currently not supported. Comment this error out if you want to work on/test it.") +#if(APPLE AND (NOT DEFINED BUILD_OWNCLOUD_OSX_BUNDLE OR BUILD_OWNCLOUD_OSX_BUNDLE)) +# set(BUILD_OWNCLOUD_OSX_BUNDLE ON) +# set(OWNCLOUD_OSX_BUNDLE "${APPLICATION_EXECUTABLE}.app") +# set(LIB_INSTALL_DIR "${APPLICATION_EXECUTABLE}.app/Contents/MacOS") +# set(BIN_INSTALL_DIR "${APPLICATION_EXECUTABLE}.app/Contents/MacOS") +# +## BUILD_OWNCLOUD_OSX_BUNDLE was disabled on OSX +#elseif(APPLE AND NOT BUILD_OWNCLOUD_OSX_BUNDLE) +# message(FATAL_ERROR "Building in non-bundle mode on OSX is currently not supported. Comment this error out if you want to work on/test it.") # any other platform -else() +#else() set(BUILD_OWNCLOUD_OSX_BUNDLE OFF) -endif() +#endif() ##### #### find libs