Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonLakeFlyer committed Apr 10, 2024
1 parent 21ea4c9 commit 3c087fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ endif()
if (MACOS)
install(CODE "file(MAKE_DIRECTORY package)")
install(CODE "execute_process(COMMAND rsync -a --delete QGroundControl.app package)")
install(CODE "file(REMOVE /tmp/tmp.dmg QGroundControl.dmg)")
install(CODE "file(REMOVE /tmp/tmp.dmg package/QGroundControl.dmg)")
install(CODE "execute_process(COMMAND hdiutil create /tmp/tmp.dmg -ov -volname QGroundControl -fs HFS+ -srcfolder package)")
install(CODE "execute_process(COMMAND hdiutil convert /tmp/tmp.dmg -format UDBZ -o QGroundControl.dmg)")
install(CODE "execute_process(COMMAND hdiutil convert /tmp/tmp.dmg -format UDBZ -o package/QGroundControl.dmg)")
install(CODE "file(REMOVE /tmp/tmp.dmg)")
endif()

0 comments on commit 3c087fe

Please sign in to comment.