summaryrefslogtreecommitdiff
path: root/README.CMake.txt
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-12-01 14:43:32 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-12-02 09:28:08 +0100
commitf72748bb4563c07322846ae92cc9c02c0b448e5b (patch)
treef1810fa604d181fc018249eb3fd0a0742650548d /README.CMake.txt
parent96730f80cbc3b2d5aec2967a61f16bb2f02853e6 (diff)
Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by default
This commit makes the default FLTK build setting use libdecor as packaged in Linux when the build system contains packages libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0. Otherwise, FLTK uses the bundled version of libdecor. This includes situations where package libdecor-0-dev is present in an earlier version.
Diffstat (limited to 'README.CMake.txt')
-rw-r--r--README.CMake.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.CMake.txt b/README.CMake.txt
index c64c0c75c..c80832136 100644
--- a/README.CMake.txt
+++ b/README.CMake.txt
@@ -232,10 +232,12 @@ OPTION_USE_STD - default OFF
or major (maybe 4.0.0) release which will default to use std::string
and more modern C++ features.
-OPTION_USE_SYSTEM_LIBDECOR - default OFF
- This option makes FLTK use package libdecor-0 to draw window titlebars
- under Wayland. It's mainly meant for future use, when that package
- and its plugins will be part of major Linux distributions.
+OPTION_USE_SYSTEM_LIBDECOR - default ON
+ This option makes FLTK use package libdecor-0-dev to draw window titlebars
+ under Wayland. When OFF or when this package has a version < 0.2.0, FLTK
+ uses its bundled copy of libdecor to draw window titlebars.
+ As of november 2023, version 0.2.0 of package libdecor-0-dev is available
+ only in testing distributions.
Documentation options: these options are only available if `doxygen' is
installed and found by CMake. PDF related options require also `latex'.