diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-23 17:24:20 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-23 17:24:59 +0100 |
| commit | 27a6fd9609c08b60057b0482a835dc27a64a0786 (patch) | |
| tree | f6e505bee2509bd79b60b89ab1e9fc9e4c5349e1 /src | |
| parent | b684f70ad75701f3d3436157b75c6f2650d6a97b (diff) | |
Configure-based build: control presence of GL-related packages
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/Wayland/fl_wayland_gl_platform_init.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Wayland/fl_wayland_gl_platform_init.cxx b/src/drivers/Wayland/fl_wayland_gl_platform_init.cxx index 293641d05..1c734be47 100644 --- a/src/drivers/Wayland/fl_wayland_gl_platform_init.cxx +++ b/src/drivers/Wayland/fl_wayland_gl_platform_init.cxx @@ -14,6 +14,8 @@ // https://www.fltk.org/bugs.php // +#include <config.h> +#if HAVE_GL #include "Fl_Wayland_Gl_Window_Driver.H" #include "Fl_Wayland_Screen_Driver.H" @@ -30,3 +32,5 @@ Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w) return new Fl_Wayland_Gl_Window_Driver(w); #endif } + +#endif // HAVE_GL |
