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
|
|
|
|
-scheme OwnCloudFinder.osax SYMROOT=${CMAKE_CURRENT_BINARY_DIR} archive
|
2014-08-01 12:55:31 +04:00
|
|
|
COMMENT building Mac Overlay iccons)
|
|
|
|
|
2014-08-18 14:09:24 +04:00
|
|
|
INSTALL( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/OwnCloudFinder.osax/Contents
|
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/Library/ScriptingAdditions/OwnCloudFinder.osax/ )
|
2014-08-01 12:55:31 +04:00
|
|
|
endif(APPLE)
|
|
|
|
|