CPackOptions.cmake.in 993 B

123456789101112131415161718192021
  1. # This file is configured at cmake time, and loaded at cpack time.
  2. # To pass variables to cpack from cmake, they must be configured
  3. # in this file.
  4. if(CPACK_GENERATOR MATCHES "NSIS")
  5. SET( CPACK_PACKAGE_ICON @CMAKE_SOURCE_DIR@/admin/win/nsi/installer.ico ) # A branding image that will be displayed on the top bar inside the installer. installer.bmp
  6. SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma
  7. endif(CPACK_GENERATOR MATCHES "NSIS")
  8. set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
  9. set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
  10. include("${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake")
  11. set( CRASHREPORTER_EXECUTABLE @CRASHREPORTER_EXECUTABLE@)
  12. set( BUILD_OWNCLOUD_OSX_BUNDLE @BUILD_OWNCLOUD_OSX_BUNDLE@)
  13. if(APPLE AND NOT BUILD_OWNCLOUD_OSX_BUNDLE)
  14. message( FATAL_ERROR "You're trying to build a bundle although you haven't built the client in bundle mode.\n Add -DBUILD_OWNCLOUD_OSX_BUNDLE=ON")
  15. endif()