]> Creatis software - creaTools.git/commitdiff
Feature 2004 creaToolsTools
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 17:55:08 +0000 (19:55 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 17:55:08 +0000 (19:55 +0200)
install/CMakeLists.txt

index 1a9cdda9d46881e589007bdbf2ec151a911141b4..08d167b863e8c638d739efe505859002b14a856e 100644 (file)
@@ -126,7 +126,7 @@ IF(WIN32 AND NOT UNIX)
         WriteRegExpandStr \\\${Install_ReadEnvStr_RegKey} 'PATH' $0
                
                AddToPath_doneEED:
-               CreateShortCut  '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Version.txt.lnk' '${CREATOOLS_DIRBIN}\\\\Version.txt' 
+               CreateShortCut  '$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Version.txt.lnk' '${CREATOOLS_DIRBIN}\\\\..\\\\Version.txt' 
 
                SendMessage \\\${HWND_BROADCAST} \\\${WM_WININICHANGE} 0 'STR:Environment' /TIMEOUT=5000 
 
@@ -222,7 +222,7 @@ IF (WIN32)
 #INSTALL(DIRECTORY ${CREATOOLS_SOURCE_PATH}\\\\${CREA_THIRDPARTY_DLLS}\\\\bin/                         DESTINATION "${CREATOOLS_DESTINATION_PATH}/bin" )
 #INSTALL(DIRECTORY ${CREATOOLS_SOURCE_PATH}\\\\${CREA_THIRDPARTY_LIBRARIES}\\\\Library/        DESTINATION ${CREATOOLS_DESTINATION_PATH} )
 
-INSTALL(FILES ${${CMAKE_PROJECT_NAME}_BINARY_DIR}/../Version.txt DESTINATION . )
+INSTALL(FILES ${${CMAKE_PROJECT_NAME}_BINARY_DIR}/Version.txt DESTINATION . )
 
 INSTALL(DIRECTORY ${PROJECT_SOURCE_DIR}/bin/                                                   DESTINATION bin  )
 INSTALL(DIRECTORY ${PROJECT_SOURCE_DIR}/data/                                                  DESTINATION bin/data  )