From 7e761b03d2620089cf77a34f8da83c67e4850bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Fri, 15 Mar 2024 03:01:33 -0300 Subject: [PATCH] Reverted FLTK build. --- cmake/Modules/BuildFLTK.cmake | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cmake/Modules/BuildFLTK.cmake b/cmake/Modules/BuildFLTK.cmake index 59678cd48..b27edb60f 100644 --- a/cmake/Modules/BuildFLTK.cmake +++ b/cmake/Modules/BuildFLTK.cmake @@ -37,12 +37,10 @@ endif() if (APPLE OR WIN32) - set( FLTK_BACKEND_WAYLAND OFF ) - set( FLTK_BACKEND_X11 OFF ) + set( FLTK_WAYLAND OFF ) set( FLTK_PANGO OFF ) else() - set( FLTK_BACKEND_WAYLAND ${TLRENDER_WAYLAND} ) - set( FLTK_BACKEND_X11 ${TLRENDER_X11} ) + set( FLTK_WAYLAND ${TLRENDER_WAYLAND} ) set( FLTK_PANGO ON ) endif() @@ -66,8 +64,6 @@ ExternalProject_Add( -DFLTK_BUILD_EXAMPLES=OFF -DFLTK_BUILD_TEST=OFF -DFLTK_BUILD_SHARED_LIBS=${FLTK_BUILD_SHARED_LIBS} - -DFLTK_BACKEND_WAYLAND=${FLTK_BACKEND_WAYLAND} - -DFLTK_BACKEND_X11=${FLTK_BACKEND_X11} -DFLTK_USE_SYSTEM_ZLIB=0 -DFLTK_USE_SYSTEM_LIBJPEG=0 -DFLTK_USE_SYSTEM_LIBPNG=0