Update make dmg for Qt 6

This commit is contained in:
Jonas Kvinge
2020-12-24 15:24:48 +01:00
parent fa0fd6b7d0
commit b58a7c32c2
2 changed files with 36 additions and 16 deletions

View File

@@ -26,9 +26,6 @@ if(LINUX)
include(cmake/Rpm.cmake)
include(cmake/Deb.cmake)
endif()
if(APPLE)
include(cmake/Dmg.cmake)
endif()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
@@ -417,6 +414,12 @@ if(NOT CMAKE_CROSSCOMPILING)
)
endif()
# make dmg
# This needs to be included after the major Qt version is set.
if(APPLE)
include(cmake/Dmg.cmake)
endif()
# Set up definitions
add_definitions(-DBOOST_BIND_NO_PLACEHOLDERS)