diff options
author | Bastiaan Olij <mux213@gmail.com> | 2018-03-15 22:24:49 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2018-03-15 22:35:44 +1100 |
commit | cc9e8aa73239c4d672775cfd05b84c21fe246b84 (patch) | |
tree | 5eeffffdf4a8d7ac6608ea0cd89d6ae7493901eb | |
parent | 506c4926577910230eceecd07df3cc42e423d25f (diff) |
Added missing import BoolVariable
Didn't like the missing BoolVariable :)
-rw-r--r-- | platform/uwp/detect.py | 3 | ||||
-rw-r--r-- | platform/windows/detect.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py index d850ab9436..3ee195e4f9 100644 --- a/platform/uwp/detect.py +++ b/platform/uwp/detect.py @@ -25,10 +25,11 @@ def can_build(): def get_opts(): + from SCons.Variables import BoolVariable return [ ('msvc_version', 'MSVC version to use. Ignored if VCINSTALLDIR is set in shell env.', None), - (BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False)), + BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False), ] diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 1cb8cb0fc8..3cf1482a65 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -65,7 +65,7 @@ def get_opts(): EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')), BoolVariable('separate_debug_symbols', 'Create a separate file with the debug symbols', False), ('msvc_version', 'MSVC version to use. Ignored if VCINSTALLDIR is set in shell env.', None), - (BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False)), + BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False), ] |