BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script.
This commit is contained in:
parent
66a8c5763b
commit
9453489919
|
@ -67,7 +67,7 @@ IF(Subversion_SVN_EXECUTABLE)
|
|||
|
||||
MACRO(Subversion_WC_INFO dir prefix)
|
||||
EXECUTE_PROCESS(COMMAND ${Subversion_SVN_EXECUTABLE} --version
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
WORKING_DIRECTORY ${dir}
|
||||
OUTPUT_VARIABLE Subversion_VERSION_SVN
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
|
|
Loading…
Reference in New Issue