diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-07-26 01:23:58 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-07-26 01:23:58 (GMT) |
commit | 5df592ce31cbcf278e9742552f36ba2a9a46c3b7 (patch) | |
tree | 4eaeb93c2986b55860a5a0d5fd3748da1d7953e4 /Source/cmConvertMSBuildXMLToJSON.py | |
parent | c233c51cb96468458eb5f5540f468d489954da2e (diff) | |
download | CMake-5df592ce31cbcf278e9742552f36ba2a9a46c3b7.zip CMake-5df592ce31cbcf278e9742552f36ba2a9a46c3b7.tar.gz CMake-5df592ce31cbcf278e9742552f36ba2a9a46c3b7.tar.bz2 |
FetchContent: Ensure can_fetch_default is set early enough
The can_fetch_default variable needs to be set before the call to
_ep_write_gitupdate_script(). Move it to before that call and always
set the variable, even if arg_SCRIPT_FILE is not set. This makes the
generated git update script file easier to follow if someone tries to
follow what it is doing or wants to investigate problems and run it
manually.
Fixes: #26164
Diffstat (limited to 'Source/cmConvertMSBuildXMLToJSON.py')
0 files changed, 0 insertions, 0 deletions