]> Creatis software - creaTools.git/commitdiff
Bug Windows Start menu not finding Version.txt file
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 14:05:11 +0000 (16:05 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 14:05:11 +0000 (16:05 +0200)
Tab space in Version.txt.ini

Version.txt.in
install/CMakeLists.txt

index 22e823fb728fa6566accd50318e69f6683efbd73..b116cc95ee50a711d27cac94ff3ec9e25a474db7 100644 (file)
@@ -22,7 +22,7 @@
 # ------------------------------------------------------------------------   
 
 
-            Project: @CMAKE_PROJECT_NAME@
+         Project: @CMAKE_PROJECT_NAME@
          Version: @PROJECT_MAJOR_VERSION@.@PROJECT_MINOR_VERSION@.@PROJECT_BUILD_VERSION@
         Platform: @CREATOOLS_PLATFORM@
       Build Type: @CREATOOLS_BUILDTYPE@
index 48d56456d559202fbcc59d67b222614151d842a8..ce3720e7198cbc5d41360e6839a5437d474a33e3 100644 (file)
@@ -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  )