diff options
author | David Cole <david.cole@kitware.com> | 2008-03-20 15:44:25 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-03-20 15:44:25 (GMT) |
commit | 9453489919b461013b405f601795bd446298061e (patch) | |
tree | 28c511339a11450b45c0467a327156fc540a6916 /Modules/FindSubversion.cmake | |
parent | 66a8c5763b3b4c6d0be9a5ef030240edfc2486dc (diff) | |
download | CMake-9453489919b461013b405f601795bd446298061e.zip CMake-9453489919b461013b405f601795bd446298061e.tar.gz CMake-9453489919b461013b405f601795bd446298061e.tar.bz2 |
BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script.
Diffstat (limited to 'Modules/FindSubversion.cmake')
-rw-r--r-- | Modules/FindSubversion.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake index a4c4692..32c66d3 100644 --- a/Modules/FindSubversion.cmake +++ b/Modules/FindSubversion.cmake @@ -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) |