From d231c2e95f6978db7c278bbcd15015ee2dee4edb Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 24 Jul 2026 18:24:13 +0200 Subject: [PATCH] Correct way to link with wayland libraries. --- profiler/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/CMakeLists.txt b/profiler/CMakeLists.txt index b9758e96..cb9000cd 100644 --- a/profiler/CMakeLists.txt +++ b/profiler/CMakeLists.txt @@ -198,7 +198,7 @@ if(USE_WAYLAND) message(WARNING "libwayland ${WAYLAND_CLIENT_VERSION} is too old and does not provide version 6 of the core protocol. Building in this configuration is not supported and will result in reduced functionality.") endif() set(INCLUDES "${INCLUDES};${WAYLAND_INCLUDE_DIRS}") - set(LIBS "${LIBS};${WAYLAND_LIBRARIES}") + set(LIBS "${LIBS};${WAYLAND_LINK_LIBRARIES}") set(PROFILER_FILES ${PROFILER_FILES} src/BackendWayland.cpp )