cmake: fix build with KWIN_BUILD_X11_BACKEND

It didn't build the windowed x11 backend before
wilder/Plasma/6.3
Xaver Hugl 1 year ago
parent 34e48bd7f1
commit 4f2dcc3370
  1. 5
      src/backends/CMakeLists.txt
  2. 4
      src/backends/x11/CMakeLists.txt

@ -3,7 +3,4 @@ add_subdirectory(fakeinput)
add_subdirectory(libinput)
add_subdirectory(virtual)
add_subdirectory(wayland)
if (KWIN_BUILD_X11_BACKEND)
add_subdirectory(x11)
endif()
add_subdirectory(x11)

@ -1,4 +1,6 @@
add_subdirectory(standalone)
if (KWIN_BUILD_X11_BACKEND)
add_subdirectory(standalone)
endif()
if (X11_XCB_FOUND)
add_subdirectory(windowed)
endif()

Loading…
Cancel
Save