From: Eduardo DAVILA Date: Tue, 30 Apr 2013 14:05:11 +0000 (+0200) Subject: Bug Windows Start menu not finding Version.txt file X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=501aef18778184980c5b1f8cdc110bb0a0a31835;p=creaTools.git Bug Windows Start menu not finding Version.txt file Tab space in Version.txt.ini --- diff --git a/Version.txt.in b/Version.txt.in index 22e823f..b116cc9 100644 --- a/Version.txt.in +++ b/Version.txt.in @@ -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@ diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index 48d5645..ce3720e 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -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 )