From 5f69925be7d36a7cf57f927ef096570a14e5d51d Mon Sep 17 00:00:00 2001 From: Juan Prieto Date: Wed, 29 Jul 2009 14:34:56 +0000 Subject: [PATCH] install --- install/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.45.0