Skip to content
Snippets Groups Projects
Commit b07fd288 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

don't load bullet if module is not available

parent d1997b27
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,9 @@ int main(int argc, const char* argv[]) {
moduleManager.use<fggl::display::GLFW>();
moduleManager.use<fggl::assets::AssetFolders>();
moduleManager.use<fggl::entity::ECS>();
moduleManager.use<fggl::phys::Bullet3>();
#ifdef FGGL_MODULE_BULLET
moduleManager.use<fggl::phys::Bullet3>();
#endif
moduleManager.resolve();
// create the application
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment