diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-13 09:06:10 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-13 09:06:10 +0100 |
| commit | 40aa9c86096462a679bbcd678c4419755628800b (patch) | |
| tree | 004be4313f98d3f81dfcf5521d9f7f476fe43538 /CMake | |
| parent | 9f4cea25bf4b627e5b9998fb60d17eed8a5e73b4 (diff) | |
Allow CMake-based build with -DFLTK_BACKEND_X11=0 under Linux/Unix
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 9972664fa..62b22a556 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -798,7 +798,7 @@ if(FLTK_GRAPHICS_CAIRO) set(FLTK_USE_PANGO TRUE CACHE BOOL "use lib Pango") endif(FLTK_GRAPHICS_CAIRO) -if(FLTK_USE_PANGO OR FLTK_GRAPHICS_CAIRO) # implies to use PANGOXFT +if(FLTK_USE_X11 AND (FLTK_USE_PANGO OR FLTK_GRAPHICS_CAIRO)) # implies to use PANGOXFT set(USE_PANGOXFT true) endif() |
