Skip to content

Commit

Permalink
ci: look for X11
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 28, 2024
1 parent 51e2b5e commit 89e17a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 3rdparty/suil.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 89e17a6

Please sign in to comment.