mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
17 lines
789 B
CMake
17 lines
789 B
CMake
# This file is configured at cmake time, and loaded at cpack time.
|
|
# To pass variables to cpack from cmake, they must be configured
|
|
# in this file.
|
|
|
|
if(CPACK_GENERATOR MATCHES "NSIS")
|
|
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
|
|
SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma
|
|
endif(CPACK_GENERATOR MATCHES "NSIS")
|
|
|
|
set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
|
|
set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
|
|
|
|
set( CSYNC_BINARY_DIR @CSYNC_BINARY_DIR@ )
|
|
if(NOT CSYNC_BINARY_DIR)
|
|
message(FATAL_ERROR "You need to make CSYNC_BINARY_DIR point to the csync build dir")
|
|
endif()
|