Skip to content

Commit 30b5ac4

Browse files
committed
with dmg?
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 96c8070 commit 30b5ac4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ if(APPLE)
104104
add_custom_command(TARGET Chibi POST_BUILD
105105
COMMAND ln -sf cmake "${CMAKE_CURRENT_BINARY_DIR}/carla/lib"
106106
)
107-
add_custom_command(TARGET Chibi POST_BUILD
108-
COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi>
109-
)
110107
add_custom_command(TARGET Chibi POST_BUILD
111108
COMMAND mkdir -p "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/platforms" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles"
112109
)
@@ -116,4 +113,7 @@ if(APPLE)
116113
add_custom_command(TARGET Chibi POST_BUILD
117114
COMMAND cp "${QtPluginsDir}/styles/libqmacstyle.dylib" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles/"
118115
)
116+
add_custom_command(TARGET Chibi POST_BUILD
117+
COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi> -dmg
118+
)
119119
endif()

0 commit comments

Comments
 (0)