2014-08-26 18:01:36 +04:00
|
|
|
|
2014-12-03 16:37:15 +03:00
|
|
|
# Check if varialbe MAC_INSTALLER_BACKGROUND_FILE is defined. That might come
|
|
|
|
# from the OEM.cmake for branded clients or from OWNCLOUD.cmake for the non
|
|
|
|
# branded client.
|
|
|
|
# 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()
|
|
|
|
|
2014-08-26 18:01:36 +04:00
|
|
|
configure_file(create_mac_pkg.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh)
|
2014-12-03 16:37:15 +03:00
|
|
|
configure_file(macosx.pkgproj ${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)
|