From 3a3c58d273a186a339fa5887ff3e36e5d8d6f122 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sun, 28 Mar 2021 20:05:52 +0200 Subject: [PATCH] deps --- libs/modulesystem/singletonmodule.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/modulesystem/singletonmodule.h b/libs/modulesystem/singletonmodule.h index be855611..9a037fb9 100644 --- a/libs/modulesystem/singletonmodule.h +++ b/libs/modulesystem/singletonmodule.h @@ -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; } -- 2.39.2