From: Juan Prieto Date: Wed, 29 Jul 2009 14:34:56 +0000 (+0000) Subject: install X-Git-Tag: EED.02Oct2009~2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaContours.git;a=commitdiff_plain;h=5f69925be7d36a7cf57f927ef096570a14e5d51d install --- diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index e630799..98929b8 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -55,8 +55,12 @@ ENDFOREACH(iLST) # ENDIF(WIN32) #ELSE (BUILD_BBTK_PACKAGE_creaContours) - - SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaContours-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") +IF(WIN32) + SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaContours-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") +ELSE(WIN32) + SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools/creaContours-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") +ENDIF(WIN32) + IF(WIN32) SET(CMAKE_INSTALL_PREFIX C:/CreaTools/creaContours) ENDIF(WIN32)