Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
with dmg?
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jun 6, 2023
1 parent 96c8070 commit 30b5ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -104,9 +104,6 @@ if(APPLE)
add_custom_command(TARGET Chibi POST_BUILD
COMMAND ln -sf cmake "${CMAKE_CURRENT_BINARY_DIR}/carla/lib"
)
add_custom_command(TARGET Chibi POST_BUILD
COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi>
)
add_custom_command(TARGET Chibi POST_BUILD
COMMAND mkdir -p "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/platforms" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles"
)
Expand All @@ -116,4 +113,7 @@ if(APPLE)
add_custom_command(TARGET Chibi POST_BUILD
COMMAND cp "${QtPluginsDir}/styles/libqmacstyle.dylib" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles/"
)
add_custom_command(TARGET Chibi POST_BUILD
COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi> -dmg
)
endif()

0 comments on commit 30b5ac4

Please sign in to comment.