]> Creatis software - creaTools.git/commitdiff
CPACK bug win64 install vtk9itk5wx3-macos
authorEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Thu, 18 Jan 2024 09:04:00 +0000 (10:04 +0100)
committerEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Thu, 18 Jan 2024 09:04:00 +0000 (10:04 +0100)
install/CMakeLists.txt

index a4b30ff1e0d416856c54cc0fdc3a770ba78359f4..cec2ef96066362c33586582692597dc2ecd75b67 100644 (file)
@@ -31,7 +31,6 @@
 #http://www.cmake.org/Wiki/CMake:CPackConfiguration
 #http://www.cmake.org/Wiki/CMake:Install_Commands
 
-
 INCLUDE(InstallRequiredSystemLibraries)
 
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PROJECT_NAME} - CREATIS")
@@ -42,11 +41,10 @@ SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.txt")
 SET(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_MAJOR_VERSION})
 SET(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_MINOR_VERSION})
 SET(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_BUILD_VERSION})
-# SET(CPACK_SYSTEM_NAME ${CREATOOLS_PLATFORM})
-
-SET(CPACK_NSIS_INSTALL_ROOT "holaEED2")
-
 
+# EED 2024-01-18
+# SET(CPACK_SYSTEM_NAME ${CREATOOLS_PLATFORM})
+SET(CPACK_NSIS_INSTALL_ROOT  $ENV{ProgramFiles})
 
 # SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\${PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
   SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\CreaTools-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")