summaryrefslogtreecommitdiff
path: root/README.Wayland.txt
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-20 17:46:05 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-20 17:46:05 +0200
commitde91a92e67ecc717aec173ec1fb9a2de71959dec (patch)
treed926c82c4b1e452cf8de647fa2aeb6f7ad47feed /README.Wayland.txt
parent9c9ce66d05c23a3f12ce3e28c98564fc2189e2c3 (diff)
Wayland under FreeBSD: add support for CMake-based builds.
Diffstat (limited to 'README.Wayland.txt')
-rw-r--r--README.Wayland.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.Wayland.txt b/README.Wayland.txt
index f307cd154..f7c94c935 100644
--- a/README.Wayland.txt
+++ b/README.Wayland.txt
@@ -176,10 +176,17 @@ The Wayland platform is know to work with FreeBSD version 13.1 and the sway comp
These packages are necessary to build the FLTK library and the sway compositor:
pkg install git autoconf pkgconf xorg urwfonts gnome seatd sway dmenu-wayland dmenu
-The FLTK library should be built, for now, as follows :
+The FLTK library can be built using either configure or CMake as follows :
-git clone https://github.com/fltk/fltk fltk
-cd fltk
+1) Using configure
+
+cd <path-to-FLTK-source-tree>
autoconf -f
./configure --enable-localzlib --enable-wayland
make
+
+2) Using CMake
+
+cmake -S <path-to-source> -B <path-to-build> -DOPTION_USE_WAYLAND=1
+
+cd <path-to-build>; make