cmake: Link with WAYLAND_LIBRARIES or SDL gets sad

This commit is contained in:
Jakob Bornecrantz 2021-09-16 20:51:46 +01:00 committed by Jakob Bornecrantz
parent 4c58d377c1
commit a58b8df4a9

View file

@ -217,7 +217,7 @@ if(XRT_FEATURE_COMPOSITOR_MAIN)
if(XRT_HAVE_WAYLAND)
target_include_directories(comp_main SYSTEM PRIVATE ${WL_PROTOS_DIR})
target_link_libraries(comp_main PRIVATE
${WAYLAND_DEPS}
${WAYLAND_DEPS} ${WAYLAND_LIBRARIES}
)
endif()
if(XRT_HAVE_XCB)