]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
deps
authorThomas Debesse <dev@illwieckz.net>
Sun, 28 Mar 2021 18:05:52 +0000 (20:05 +0200)
committerThomas Debesse <dev@illwieckz.net>
Wed, 29 Sep 2021 21:26:13 +0000 (23:26 +0200)
libs/modulesystem/singletonmodule.h

index be855611751205543132b5445471aa8e695e96c5..9a037fb91fd25a303710cec474dc652d1338552f 100644 (file)
@@ -111,7 +111,14 @@ void capture(){
                else
                {
                        globalOutputStream() << "Module Dependencies Failed: '" << typename Type::Name() << "' '" << APIConstructor::getName() << "'\n";
+#if defined ( IGNORE_DEPENDENCIES_FAIL )
+                       if ( !m_dependencyCheck )
+                       {
+                               globalOutputStream() << "Continuing anyway, FIXME!!!";
+                       }
+#else // !IGNORE_DEPENDENCIES_FAIL
                        ASSERT_MESSAGE( m_dependencyCheck, "module dependencies failed" );
+#endif // !IGNORE_DEPENDENCIES_FAIL
                }
                m_cycleCheck = true;
        }