Correct way to link with wayland libraries.

This commit is contained in:
Bartosz Taudul
2026-07-24 18:24:13 +02:00
parent b94a1e22c1
commit d231c2e95f

View File

@@ -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
)