summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-30 21:36:19 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-30 21:36:19 +0200
commit3e2c8d5a952b6950a4cfddfb738e6e18298ba520 (patch)
treedbaf7adbb5c441fcf51def8454abe96e0c7e2953 /CMake
parenta2929b15baa4a9efedfbdc3eb7b46e626df4f3db (diff)
Allow building Wayland platform without dbus - cont'd (#726)
CMake-based building without dbus is made possible
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index ce406ba92..17fcda3f2 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -219,13 +219,12 @@ if (UNIX)
pkg_check_modules(WLDCURSOR wayland-cursor)
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>=1.18 wayland-cursor wayland-protocols>=1.15 xkbcommon dbus-1' are present")
+ if (NOT(WLDCLIENT_FOUND AND WLDCURSOR_FOUND AND WLDPROTO_FOUND AND XKBCOMMON_FOUND))
+ message (STATUS "Not all software modules 'wayland-client>=1.18 wayland-cursor wayland-protocols>=1.15 xkbcommon' are present")
message (STATUS "Consequently, OPTION_USE_WAYLAND is set to OFF.")
unset (OPTION_USE_WAYLAND CACHE)
set (OPTION_USE_WAYLAND 0)
- endif (NOT(DBUS_FOUND AND WLDCLIENT_FOUND AND WLDCURSOR_FOUND AND WLDPROTO_FOUND AND XKBCOMMON_FOUND))
+ endif (NOT(WLDCLIENT_FOUND AND WLDCURSOR_FOUND AND WLDPROTO_FOUND AND XKBCOMMON_FOUND))
endif (OPTION_USE_WAYLAND)
if (OPTION_USE_WAYLAND)