Commit 9e6b9bb2 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄
Browse files

remove stay include and only check for drm if pipewire is around

parent 13ba39cd
......@@ -111,8 +111,9 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3)
add_feature_info(PipeWire PipeWire_FOUND "Required for Wayland screencasting")
find_package(Libdrm REQUIRED)
pkg_check_modules(gbm REQUIRED)
if(PipeWire_FOUND)
find_package(Libdrm REQUIRED)
endif()
find_package(QtWaylandScanner REQUIRED)
find_package(PlasmaWaylandProtocols REQUIRED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment