Commit 1849d392 authored by promayon's avatar promayon
Browse files

FIXED Do not force installation dir in CMakeFile (user should have the right to decide!)


git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@337 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 5841f4d6
......@@ -161,7 +161,7 @@ if (UNIX AND NOT WIN32)
# Installation path
# Set the install location to "/usr"
set(CAMITK_INSTALL_ROOT "/usr") # Set the CamiTK install root path in your CMake command line / GUI.
# PLEASE, set the CamiTK install root path in your CMake command line / GUI (and not directly here)
set(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
set(CPACK_PACKAGE_DEFAULT_LOCATION "/usr")
set(CPACK_SET_DESTDIR TRUE)
......@@ -198,14 +198,14 @@ if (UNIX AND NOT WIN32)
# endif("${LSB_DISTRIB}" MATCHES "Debiantesting")
if(NOT CPACK_DEBIAN_PACKAGE_DEPENDS)
message("Packaging for ${LSB_DISTRIB} not supported yet.\n")
message(STATUS "Packaging for ${LSB_DISTRIB} not supported yet.\n")
endif()
endif()
# package name
string(TOLOWER "${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${CAMITK_VER_NICKNAME}-${LSB_DISTRIB}_${CPACK_PACKAGE_ARCHITECTURE}" CPACK_PACKAGE_FILE_NAME)
message("CPACK_PACKAGE_FILE_NAME = ${CPACK_PACKAGE_FILE_NAME}")
message(STATUS "CPACK_PACKAGE_FILE_NAME = ${CPACK_PACKAGE_FILE_NAME}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment