make app bundle on macos

This commit is contained in:
itsmattkc
2019-09-12 01:37:39 +10:00
parent cd2aff3cea
commit 835ac18973
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# Make
make -j$(sysctl -n hw.ncpu)
BUNDLE_PATH=$(find / -name "Olive.app")
BUNDLE_PATH=$(find . -name "Olive.app")
echo Found app at: $BUNDLE_PATH
# Move Qt deps into bundle
macdeployqt $BUNDLE_PATH
+4
View File
@@ -39,6 +39,10 @@ add_subdirectory(window)
set(OLIVE_TARGET "olive-editor")
if(APPLE)
set(OLIVE_TARGET "Olive")
SET_TARGET_PROPERTIES(${OLIVE_TARGET} PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_FRAMEWORK_IDENTIFIER org.olivevideoeditor.Olive
)
endif()
set(OLIVE_RESOURCES