diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-04 15:40:29 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-04 15:41:00 +0100 |
| commit | 3718effc431f5622a23c55b254153efdfe4e72c4 (patch) | |
| tree | d8a805870c6a3785022e2f52f0c3715410e29a37 /CMake/variables.cmake | |
| parent | a773fdc44bfb818f1830e9e48ba765881e68c942 (diff) | |
Add the Wayland platform to FLTK 1.4
Diffstat (limited to 'CMake/variables.cmake')
| -rw-r--r-- | CMake/variables.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
