Commit 9b90fb5f authored by finetjul's avatar finetjul
Browse files

BUG: Fix configuration of SlicerVersion.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15489 3bd1e089-480b-0410-8dfb-8563597acbee
parent 140e15f2
......@@ -708,16 +708,16 @@ SET(Slicer_WC_REVISION 0)
# Case where Slicer is checkout using SVN
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.svn)
Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} Slicer3)
Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} Slicer)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/SlicerVersion.txt.in
${CMAKE_CURRENT_SOURCE_DIR}/SlicerVersion.txt.in
${Slicer_HOME}/lib/Slicer3/SlicerVersion.txt
)
ENDIF()
# Case where Slicer is checkout using Git-SVN
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/svn/refs/remotes/trunk)
GIT_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} Slicer3)
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/svn/refs/remotes)
GIT_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} Slicer)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/SlicerVersion.txt.in
${Slicer_HOME}/lib/Slicer3/SlicerVersion.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment