Skip to content

Commit

Permalink
VS Projects: Don't include mono_reg without its module
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioLiebisch committed Jan 15, 2022
1 parent c99c5a1 commit 58051c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,9 +780,10 @@ def __getitem__(self, k: str):
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(
Expand Down

0 comments on commit 58051c2

Please sign in to comment.