FLTK logo

[master] 40aa9c8 - Allow CMake-based build with -DFLTK_BACKEND_X11=0 under Linux/Unix

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 40aa9c8 - Allow CMake-based build with -DFLTK_BACKEND_X11=0 under Linux/Unix "ManoloFLTK" 01:17 Mar 13  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.