VS Projects: Don't include mono_reg
without its module
This commit is contained in:
parent
c99c5a1cae
commit
58051c2252
1 changed files with 2 additions and 1 deletions
|
@ -780,9 +780,10 @@ def generate_vs_project(env, num_jobs):
|
|||
env.vs_incs.append(str(header))
|
||||
|
||||
module_configs = ModuleConfigs()
|
||||
import modules.mono.build_scripts.mono_reg_utils as mono_reg
|
||||
|
||||
if env.get("module_mono_enabled"):
|
||||
import modules.mono.build_scripts.mono_reg_utils as mono_reg
|
||||
|
||||
mono_root = env.get("mono_prefix") or mono_reg.find_mono_root_dir(env["bits"])
|
||||
if mono_root:
|
||||
module_configs.add_mode(
|
||||
|
|
Loading…
Reference in a new issue