We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c8070 commit 30b5ac4Copy full SHA for 30b5ac4
CMakeLists.txt
@@ -104,9 +104,6 @@ if(APPLE)
104
add_custom_command(TARGET Chibi POST_BUILD
105
COMMAND ln -sf cmake "${CMAKE_CURRENT_BINARY_DIR}/carla/lib"
106
)
107
- add_custom_command(TARGET Chibi POST_BUILD
108
- COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi>
109
- )
110
111
COMMAND mkdir -p "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/platforms" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles"
112
@@ -116,4 +113,7 @@ if(APPLE)
116
113
117
114
COMMAND cp "${QtPluginsDir}/styles/libqmacstyle.dylib" "$<TARGET_BUNDLE_DIR:Chibi>/Contents/PlugIns/styles/"
118
115
+ add_custom_command(TARGET Chibi POST_BUILD
+ COMMAND macdeployqt $<TARGET_BUNDLE_DIR:Chibi> -dmg
+ )
119
endif()
0 commit comments