mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-25 01:42:47 +01:00
332a48e6a1
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
18 lines
806 B
CMake
18 lines
806 B
CMake
|
|
# Check if varialbe MAC_INSTALLER_BACKGROUND_FILE is defined.
|
|
# 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()
|
|
|
|
find_package(Qt5 5.15 COMPONENTS Core REQUIRED)
|
|
configure_file(create_mac.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh)
|
|
configure_file(macosx.pkgproj.cmake ${CMAKE_CURRENT_BINARY_DIR}/macosx.pkgproj)
|
|
configure_file(pre_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh)
|
|
configure_file(post_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/post_install.sh)
|
|
configure_file(QtWebEngineProcess.entitlements ${CMAKE_CURRENT_BINARY_DIR}/QtWebEngineProcess.entitlements)
|