summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-10-31 18:52:42 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-10-31 18:52:42 +0100
commitb89645ea18b402833dca523a9dc764b11d858ec5 (patch)
treea85373556baec38655654dafa92112a14495e6eb
parentded4018b8990445e9caeb4981cace16c71c93fe9 (diff)
Remove unnecessary statement from CMake build example
-rw-r--r--README.CMake.txt6
1 files 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