From 926f5003de616e9cec0aee5b3c7a5def7ee7382f Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Tue, 24 Sep 2024 08:40:51 +0200 Subject: [PATCH] Clang 19 can now build TGUI as a module on Linux (Clang 18 could only do it on Windows) --- gui-builder/include/GuiBuilder.hpp | 1 + tests/BackendEvents.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/gui-builder/include/GuiBuilder.hpp b/gui-builder/include/GuiBuilder.hpp index 18a807634..beddda3aa 100644 --- a/gui-builder/include/GuiBuilder.hpp +++ b/gui-builder/include/GuiBuilder.hpp @@ -34,6 +34,7 @@ #include #if !TGUI_EXPERIMENTAL_USE_STD_MODULE #include + #include #include #include #include diff --git a/tests/BackendEvents.cpp b/tests/BackendEvents.cpp index f86f1f29a..bd49ff2d2 100644 --- a/tests/BackendEvents.cpp +++ b/tests/BackendEvents.cpp @@ -53,6 +53,9 @@ #if TGUI_HAS_WINDOW_BACKEND_GLFW import tgui.backend.window.glfw; #endif + #if TGUI_HAS_WINDOW_BACKEND_RAYLIB + import tgui.backend.window.raylib; + #endif #else #if TGUI_HAS_WINDOW_BACKEND_SFML #include