mirror of https://github.com/CGAL/cgal
if svn info ended up with an error, set variable to ""
This commit is contained in:
parent
cf8e3b77c2
commit
2dc65f62d2
|
|
@ -34,6 +34,7 @@ if ( ${CGAL_SCM_NAME} STREQUAL "svn" )
|
|||
RESULT_VARIABLE svn_error)
|
||||
if(svn_error)
|
||||
message("Warning: `svn info --xml \"${dir}\"` returned an error!")
|
||||
set(${variable} "")
|
||||
endif()
|
||||
set(${variable} ${${variable}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Reference in New Issue