X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=install%2FCMakeLists.txt;h=98929b86df3f8795efdaf2f2fe3582fde0b8d27d;hb=5f69925be7d36a7cf57f927ef096570a14e5d51d;hp=e630799b990fcb3d3824ada5b4b337b911d384ee;hpb=9ce42ddc2e10cca4239f5b15840065cb9a5f84e3;p=creaContours.git 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)