diff options
Diffstat (limited to 'editor/precomp.hpp')
| -rw-r--r-- | editor/precomp.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/precomp.hpp b/editor/precomp.hpp index f309133a..93ff8164 100644 --- a/editor/precomp.hpp +++ b/editor/precomp.hpp @@ -8,6 +8,7 @@ #include <Magnum/Math/Color.h> #include <Magnum/GL/DebugOutput.h> #include <Magnum/GL/Renderer.h> -#include <Magnum/Platform/Sdl2Application.h> #include <Magnum/ImGuiIntegration/Context.h> - +#if __has_include(<SDL.h>) +#include <Magnum/Platform/Sdl2Application.h> +#endif |
