mirror of https://gitee.com/bigwinds/arangodb
implement choosing of the database directory depending on the installation options
This commit is contained in:
parent
5500942f00
commit
c6997b4e18
|
@ -8,7 +8,8 @@ set(CPACK_NSIS_MODIFY_PATH ON)
|
|||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL 1)
|
||||
set(CPACK_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Installation/Windows/Templates")
|
||||
set(CPACK_PLUGIN_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Installation/Windows/Plugins")
|
||||
|
||||
# want @ in @only nsis template:
|
||||
set(CPACK_ROOTDIR "@ROOTDIR@")
|
||||
if (CMAKE_CL_64)
|
||||
# this needs to remain a $string for the template:
|
||||
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
|
||||
|
|
Loading…
Reference in New Issue