2014-08-26 18:01:36 +04:00
|
|
|
|
2023-06-02 14:55:08 +03:00
|
|
|
# Check if variable MAC_INSTALLER_BACKGROUND_FILE is defined.
|
2014-12-03 16:37:15 +03:00
|
|
|
# Make sure that the MAC_INSTALLER_BACKGROUND_FILE contains the full path, ie.
|
|
|
|
# includes CMAKE_SOURCE_DIR or so.
|
|
|
|
|
|
|
|
if (DEFINED MAC_INSTALLER_BACKGROUND_FILE )
|
|
|
|
set(MAC_INSTALLER_DO_CUSTOM_BACKGROUND "1")
|
|
|
|
else()
|
|
|
|
set(MAC_INSTALLER_DO_CUSTOM_BACKGROUND "0")
|
|
|
|
endif()
|
|
|
|
|
2021-08-13 12:33:50 +03:00
|
|
|
find_package(Qt5 5.15 COMPONENTS Core REQUIRED)
|
2018-04-04 16:46:16 +03:00
|
|
|
configure_file(create_mac.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh)
|
2018-04-04 16:41:31 +03:00
|
|
|
configure_file(macosx.pkgproj.cmake ${CMAKE_CURRENT_BINARY_DIR}/macosx.pkgproj)
|
2014-12-16 21:06:25 +03:00
|
|
|
configure_file(pre_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh)
|
2015-07-13 11:51:05 +03:00
|
|
|
configure_file(post_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/post_install.sh)
|
2020-09-17 21:06:52 +03:00
|
|
|
configure_file(QtWebEngineProcess.entitlements ${CMAKE_CURRENT_BINARY_DIR}/QtWebEngineProcess.entitlements)
|