From b89645ea18b402833dca523a9dc764b11d858ec5 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 31 Oct 2023 18:52:42 +0100 Subject: Remove unnecessary statement from CMake build example --- README.CMake.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.CMake.txt b/README.CMake.txt index f8197f6d1..7ada4cefc 100644 --- a/README.CMake.txt +++ b/README.CMake.txt @@ -171,11 +171,12 @@ OPTION_USE_CAIRO - default OFF Makes all drawing operations use the Cairo library (rather than Xlib) producing antialiased graphics (X11 platform, implies OPTION_USE_PANGO). -OPTION_USE_PANGO - default OFF +OPTION_USE_PANGO - default OFF (see note below) Enables use of the Pango library for drawing text. Pango supports all unicode-defined scripts and gives FLTK limited support of right-to-left scripts. This option makes sense only under X11 or Wayland, and also requires Xft. + Note: Turned ON if Wayland or OPTION_USE_CAIRO is enabled. OPTION_USE_KDIALOG - default ON Under the KDE desktop, allows class Fl_Native_File_Chooser to use the @@ -674,9 +675,6 @@ project(hello) include(FetchContent) set(FLTK_BUILD_TEST OFF CACHE BOOL "" FORCE) -if(UNIX AND NOT APPLE) - set(OPTION_USE_PANGO ON CACHE BOOL "" FORCE) -endif() FetchContent_Declare(FLTK GIT_REPOSITORY https://github.com/fltk/fltk -- cgit v1.2.3