|
|
commit 40aa9c86096462a679bbcd678c4419755628800b
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Mar 13 09:06:10 2024 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Mar 13 09:06:10 2024 +0100
Allow CMake-based build with -DFLTK_BACKEND_X11=0 under Linux/Unix
CMake/options.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git CMake/options.cmake CMake/options.cmake
index 9972664..62b22a5 100644
--- CMake/options.cmake
+++ 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()
[ Direct Link to Message ] | |
|
| |