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:
David Cole 2008-03-20 11:44:25 -04:00
parent 66a8c5763b
commit 9453489919
1 changed files with 1 additions and 1 deletions

View File

@ -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)