1
0
Fork 0

implement choosing of the database directory depending on the installation options

This commit is contained in:
Wilfried Goesgens 2017-05-24 10:30:41 +02:00
parent 5500942f00
commit c6997b4e18
1 changed files with 2 additions and 1 deletions

View File

@ -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")