diff options
author | Brad King <brad.king@kitware.com> | 2024-07-23 13:53:16 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-07-23 13:53:27 (GMT) |
commit | aad3ee074b1a0025247ea9cb0df9bff2417f5042 (patch) | |
tree | 851f817924e67a7c7f1e81da9c4621f5b1d22434 | |
parent | b55f5cba1de45a2514a265a460ae7edf6e8b03f1 (diff) | |
parent | e16f65be15669882008fbc48b8dc0aeb2c0fc741 (diff) | |
download | CMake-aad3ee074b1a0025247ea9cb0df9bff2417f5042.zip CMake-aad3ee074b1a0025247ea9cb0df9bff2417f5042.tar.gz CMake-aad3ee074b1a0025247ea9cb0df9bff2417f5042.tar.bz2 |
Merge topic 'ep-svn-user-pass' into release-3.30
e16f65be15 ExternalProject: Don't add SVN auth args if not set
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9678
-rw-r--r-- | Modules/ExternalProject/shared_internal_commands.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/ExternalProject/shared_internal_commands.cmake b/Modules/ExternalProject/shared_internal_commands.cmake index db14454..acd97f1 100644 --- a/Modules/ExternalProject/shared_internal_commands.cmake +++ b/Modules/ExternalProject/shared_internal_commands.cmake @@ -1495,10 +1495,10 @@ function(_ep_add_update_command name) set(svn_interactive_args "--non-interactive") endif() set(svn_user_pw_args "") - if(DEFINED svn_username) + if(DEFINED _EP_SVN_USERNAME) set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}") endif() - if(DEFINED svn_password) + if(DEFINED _EP_SVN_PASSWORD) set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}") endif() if(svn_trust_cert) |