Displaying 1 result from an estimated 1 matches for "project_wc_revision".
2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn" )
set(result "${result}svn")
# FindSubversion does not work with symlinks. See PR 8437
@@ -14,15 +18,16 @@ function(add_version_info_from_vcs VERS)
subversion_wc_info( ${CMAKE_CURRENT_SOURCE_DIR} Project )
if( Project_WC_REVISION )
set(SVN_REVISION ${Project_WC_REVISION} PARENT_SCOPE)
+ set(SVN_REPOSITORY ${Project_WC_URL} PARENT_SCOPE)
set(result "${result}-r${Project_WC_REVISION}")
endif()
endif()
elseif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git )
set(result "${re...