diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 190ef93b9d..8b23b60774 100644 --- a/SConstruct +++ b/SConstruct @@ -193,11 +193,11 @@ for x in module_list: tmppath = "./modules/" + x sys.path.append(tmppath) try: - import config - if (not config.is_enabled()): - module_enabled = False + import config + if (not config.is_enabled()): + module_enabled = False except: - pass + pass sys.path.remove(tmppath) opts.Add(BoolVariable('module_' + x + '_enabled', "Enable module '%s'" % (x, ), module_enabled)) @@ -434,6 +434,7 @@ if selected_platform in platform_list: # Microsoft Visual Studio Project Generation if env['vsproj']: + env['CPPPATH'] = [Dir(path) for path in env['CPPPATH']] methods.generate_vs_project(env, GetOption("num_jobs")) # Check for the existence of headers |