summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-02 16:04:13 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-02 16:04:13 +0200
commitb867488442d4974d226bda602aa10ea3100ba1a3 (patch)
tree53027d9341ac686974ef03d6a290394411725557 /CMake
parent64ac7b47b81549bce8911422209c81b77a9232ba (diff)
Fix "recipe for target '../../src/xdg-decoration-protocol.c' failed" (#704)
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 392cb5cd6..ce406ba92 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -215,13 +215,13 @@ if (UNIX)
option (OPTION_USE_WAYLAND "support both Wayland and X11 backends" ON)
endif (NOT APPLE)
if (OPTION_USE_WAYLAND)
- pkg_check_modules(WLDCLIENT wayland-client)
+ pkg_check_modules(WLDCLIENT wayland-client>=1.18)
pkg_check_modules(WLDCURSOR wayland-cursor)
- pkg_check_modules(WLDPROTO wayland-protocols)
+ pkg_check_modules(WLDPROTO wayland-protocols>=1.15)
pkg_check_modules(XKBCOMMON xkbcommon)
pkg_check_modules(DBUS dbus-1)
if (NOT(DBUS_FOUND AND WLDCLIENT_FOUND AND WLDCURSOR_FOUND AND WLDPROTO_FOUND AND XKBCOMMON_FOUND))
- message (STATUS "Not all software modules 'wayland-client wayland-cursor wayland-protocols xkbcommon dbus-1' are present")
+ message (STATUS "Not all software modules 'wayland-client>=1.18 wayland-cursor wayland-protocols>=1.15 xkbcommon dbus-1' are present")
message (STATUS "Consequently, OPTION_USE_WAYLAND is set to OFF.")
unset (OPTION_USE_WAYLAND CACHE)
set (OPTION_USE_WAYLAND 0)