diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-28 19:56:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 19:56:20 +0200 |
commit | 4799009a0fa21a46a816fdf146d99669720fe902 (patch) | |
tree | c46866d19d26f7dd3cfd1661dea917e3dfbd17f3 /modules/navigation/SCsub | |
parent | 25af3ad5bee429a4efcf4649a2bfb61831b49dd5 (diff) | |
parent | 5fe6984639b5db9efa14103698e489040315ebfb (diff) |
Merge pull request #59631 from akien-mga/websocket-no-tools-disable-editor-code
Modules: Don't build editor-specific classes in templates
Diffstat (limited to 'modules/navigation/SCsub')
-rw-r--r-- | modules/navigation/SCsub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/navigation/SCsub b/modules/navigation/SCsub index 22b5509b32..24a6b12639 100644 --- a/modules/navigation/SCsub +++ b/modules/navigation/SCsub @@ -57,6 +57,8 @@ env.modules_sources += thirdparty_obj module_obj = [] env_navigation.add_source_files(module_obj, "*.cpp") +if env["tools"]: + env_navigation.add_source_files(module_obj, "editor/*.cpp") env.modules_sources += module_obj # Needed to force rebuilding the module files when the thirdparty library is updated. |