mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 14:30:27 +00:00
FindSubversion: Invoke svn non-interactively (#12304)
Otherwise Subversion_WC_LOG hangs if credentials are not set.
This commit is contained in:
parent
26607e9ae3
commit
0c6e8524fe
@ -109,7 +109,7 @@ IF(Subversion_SVN_EXECUTABLE)
|
||||
# This macro requires a svn server network access (Internet most of the time)
|
||||
# and can also be slow since it access the svn server
|
||||
EXECUTE_PROCESS(COMMAND
|
||||
${Subversion_SVN_EXECUTABLE} log -r BASE ${dir}
|
||||
${Subversion_SVN_EXECUTABLE} --non-interactive log -r BASE ${dir}
|
||||
OUTPUT_VARIABLE ${prefix}_LAST_CHANGED_LOG
|
||||
ERROR_VARIABLE Subversion_svn_log_error
|
||||
RESULT_VARIABLE Subversion_svn_log_result
|
||||
|
Loading…
Reference in New Issue
Block a user