From 3718effc431f5622a23c55b254153efdfe4e72c4 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 4 Mar 2022 15:40:29 +0100 Subject: Add the Wayland platform to FLTK 1.4 --- CMake/variables.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMake/variables.cmake') diff --git a/CMake/variables.cmake b/CMake/variables.cmake index 27672c7d5..8908bd513 100644 --- a/CMake/variables.cmake +++ b/CMake/variables.cmake @@ -43,6 +43,11 @@ if (WIN32) list (APPEND FLTK_LDLIBS -lole32 -luuid -lcomctl32 -lws2_32) elseif (APPLE AND NOT OPTION_APPLE_X11) list (APPEND FLTK_LDLIBS "-framework Cocoa") +elseif (OPTION_USE_WAYLAND) + list (APPEND FLTK_LDLIBS "-lwayland-cursor -lwayland-client -lxkbcommon -ldbus-1") + if (OPTION_USE_SYSTEM_LIBDECOR) + list (APPEND FLTK_LDLIBS "-ldecor-0") + endif (OPTION_USE_SYSTEM_LIBDECOR) else () list (APPEND FLTK_LDLIBS -lm) endif (WIN32) -- cgit v1.2.3