CMakeLists.txt 759 B

1234567891011121314151617
  1. # Check if varialbe MAC_INSTALLER_BACKGROUND_FILE is defined. That might come
  2. # from the OEM.cmake for branded clients or from NEXTCLOUD.cmake for the non
  3. # branded client.
  4. # Make sure that the MAC_INSTALLER_BACKGROUND_FILE contains the full path, ie.
  5. # includes CMAKE_SOURCE_DIR or so.
  6. if (DEFINED MAC_INSTALLER_BACKGROUND_FILE )
  7. set(MAC_INSTALLER_DO_CUSTOM_BACKGROUND "1")
  8. else()
  9. set(MAC_INSTALLER_DO_CUSTOM_BACKGROUND "0")
  10. endif()
  11. configure_file(create_mac_pkg.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh)
  12. configure_file(macosx.pkgproj ${CMAKE_CURRENT_BINARY_DIR}/macosx.pkgproj)
  13. configure_file(pre_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh)
  14. configure_file(post_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/post_install.sh)