mirror of https://github.com/fltk/fltk
Allow CMake-based build with -DFLTK_BACKEND_X11=0 under Linux/Unix
This commit is contained in:
parent
9f4cea25bf
commit
40aa9c8609
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue