Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 authored Nov 28, 2023
1 parent b77180d commit d706d7c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,16 @@ if(QT_VERSION_MAJOR EQUAL 6)
if(WIN32)
windeployqt(${PROJECT_NAME})
endif()
if(APPLE)
message("macdeployqt")
execute_process(
COMMAND ${qt_root}/bin/macdeployqt
${CMAKE_INSTALL_PREFIX}/build/${PROJECT_NAME}.app
-dmg
)
endif()
endif()

install(CODE "include(BundleUtilities)
fixup_bundle(\"${APPS}\" \"${QT_PLUGINS}\" \"${DIRS}\")")

0 comments on commit d706d7c

Please sign in to comment.