From de91a92e67ecc717aec173ec1fb9a2de71959dec Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 20 May 2022 17:46:05 +0200 Subject: Wayland under FreeBSD: add support for CMake-based builds. --- README.Wayland.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'README.Wayland.txt') 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 autoconf -f ./configure --enable-localzlib --enable-wayland make + +2) Using CMake + +cmake -S -B -DOPTION_USE_WAYLAND=1 + +cd ; make -- cgit v1.2.3