From d69401abff3304e7a146a40867b601110ea09025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Fri, 27 Dec 2024 18:38:09 -0500 Subject: [PATCH] ci: look for X11 --- 3rdparty/suil.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/3rdparty/suil.cmake b/3rdparty/suil.cmake index 0dfd511f5a..8213d0bd8f 100644 --- a/3rdparty/suil.cmake +++ b/3rdparty/suil.cmake @@ -6,6 +6,11 @@ if(NOT LV2_PATH) return() endif() +find_package(X11) +if(NOT X11_FOUND) + return() +endif() + set(Suil_INCLUDE_DIR "${3RDPARTY_FOLDER}/suil/include") add_library(Suil SHARED @@ -42,7 +47,7 @@ target_include_directories(suil_x11_in_qt6 ) target_link_libraries(suil_x11_in_qt6 - PRIVATE Suil Qt6::Core Qt6::Gui Qt6::Widgets X11 + PRIVATE Suil Qt6::Core Qt6::Gui Qt6::Widgets X11::X11 ) set(Suil_LIBRARY Suil)