2014-08-01 12:55:31 +04:00
|
|
|
|
|
|
|
if(APPLE)
|
|
|
|
add_custom_target( mac_overlayplugin ALL
|
2014-08-18 14:09:24 +04:00
|
|
|
xcodebuild -workspace ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloud.xcworkspace
|
2014-10-23 14:19:19 +04:00
|
|
|
-scheme SyncStateFinder.osax SYMROOT=${CMAKE_CURRENT_BINARY_DIR} archive
|
2014-09-23 12:18:49 +04:00
|
|
|
COMMENT building Mac Overlay icons)
|
2014-08-01 12:55:31 +04:00
|
|
|
|
2014-10-23 14:19:19 +04:00
|
|
|
INSTALL( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/SyncStateFinder.osax/Contents
|
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/Library/ScriptingAdditions/SyncStateFinder.osax/ )
|
2014-08-01 12:55:31 +04:00
|
|
|
endif(APPLE)
|
|
|
|
|