diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7c57d569c..3c5ace395 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,6 +26,7 @@ jobs: msystem: UCRT64 update: true install: >- + git mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-gcc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a6f373fa..b6f05cd56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,7 @@ jobs: update: true cache: true install: >- + git mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-gcc diff --git a/engine/CMakeLists.txt b/engine/CMakeLists.txt index 19703d95b..a3a3a2a99 100644 --- a/engine/CMakeLists.txt +++ b/engine/CMakeLists.txt @@ -147,6 +147,8 @@ endif () # Dynamic render backends (OpenGL/Vulkan) are engine plugins loaded via # dlopen; they share this engine library instead of embedding a static # render-core subset. +option(OAK_ENABLE_DYNAMIC_RENDER_BACKEND + "Build OpenGL/Vulkan render backends as dlopen plugins (oakgl/oakvulkan)" ON) if (OAK_ENABLE_DYNAMIC_RENDER_BACKEND) target_compile_definitions(oakengine-obj PRIVATE OAK_ENABLE_DYNAMIC_RENDER_BACKEND)