Index: Source/build/scripts/templates/EventFactory.cpp.tmpl |
diff --git a/Source/build/scripts/templates/EventFactory.cpp.tmpl b/Source/build/scripts/templates/EventFactory.cpp.tmpl |
index edab6a44e098a4ba1ad8ee70ea2ac58dbc163d03..1751698b19e99ff65e07f1bc462be35058d55255 100644 |
--- a/Source/build/scripts/templates/EventFactory.cpp.tmpl |
+++ b/Source/build/scripts/templates/EventFactory.cpp.tmpl |
@@ -2,7 +2,11 @@ |
{{license()}} |
#include "config.h" |
+{% if suffix == 'Modules' %} |
+#include "modules/{{namespace}}{{suffix}}Factory.h" |
+{% else %} |
#include "core/events/{{namespace}}Factory.h" |
+{% endif %} |
#include "{{namespace}}{{suffix}}Headers.h" |
#include "RuntimeEnabledFeatures.h" |