mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 02:09:55 +01:00
Enable lazy Visual Studio detection by default: one missed spot.
This commit is contained in:
parent
6aaae99afe
commit
ac3a332b03
@ -653,7 +653,9 @@ def print_all_msvc_detected(conf):
|
||||
@conf
|
||||
def detect_msvc(conf, arch = False):
|
||||
# Save installed versions only if lazy detection is disabled.
|
||||
lazy_detect = getattr(Options.options, 'msvc_lazy_autodetect', False) or conf.env['MSVC_LAZY_AUTODETECT']
|
||||
lazy_detect = getattr(Options.options, 'msvc_lazy', True)
|
||||
if conf.env['MSVC_LAZY_AUTODETECT'] is False:
|
||||
lazy_detect = False
|
||||
versions = get_msvc_versions(conf, not lazy_detect)
|
||||
return setup_msvc(conf, versions, arch)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user