From d6f39d66bf0c3c00887f940828240ab504054386 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Jan 2021 15:33:34 +1100 Subject: [PATCH] [client] x11: `xi` is now a required library for the `x11` backend --- client/displayservers/X11/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/displayservers/X11/CMakeLists.txt b/client/displayservers/X11/CMakeLists.txt index 49eb9d36..daec09d1 100644 --- a/client/displayservers/X11/CMakeLists.txt +++ b/client/displayservers/X11/CMakeLists.txt @@ -4,21 +4,17 @@ project(displayserver_X11 LANGUAGES C) find_package(PkgConfig) pkg_check_modules(DISPLAYSERVER_X11_PKGCONFIG REQUIRED x11 + xi xfixes xscrnsaver ) -pkg_check_modules(DISPLAYSERVER_X11_OPT_PKGCONFIG - xi -) - add_library(displayserver_X11 STATIC x11.c ) target_link_libraries(displayserver_X11 ${DISPLAYSERVER_X11_PKGCONFIG_LIBRARIES} - ${DISPLAYSERVER_X11_OPT_PKGCONFIG_LIBRARIES} lg_common ) @@ -26,5 +22,4 @@ target_include_directories(displayserver_X11 PRIVATE src ${DISPLAYSERVER_X11_PKGCONFIG_INCLUDE_DIRS} - ${DISPLAYSERVER_X11_OPT_PKGCONFIG_INCLUDE_DIRS} )