Commit a1a4d243 authored by jcfr's avatar jcfr
Browse files

BUG: Properly detect case where git-svn is use when generating SlicerVersion.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15173 3bd1e089-480b-0410-8dfb-8563597acbee
parent f5533bd2
......@@ -613,7 +613,7 @@ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.svn)
ENDIF()
# Case where Slicer is checkout using Git-SVN
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/svn/refs/remotes/trunk)
FIND_PACKAGE(Git)
IF(NOT GIT_FOUND)
MESSAGE(FATAL_ERROR "error: Failed to locate Git")
......
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