Fixed wayland library detection.
@@ -53,7 +53,7 @@ find_library(WAYLAND_CURSOR_LIB
)
if (WAYLAND_CLIENT_LIB AND WAYLAND_CURSOR_LIB)
- list(INSERT WAYLAND_LIBS ${WAYLAND_CLIENT_LIB} ${WAYLAND_CURSOR_LIB})
+ list(APPEND WAYLAND_LIBS ${WAYLAND_CLIENT_LIB} ${WAYLAND_CURSOR_LIB})
endif (WAYLAND_CLIENT_LIB AND WAYLAND_CURSOR_LIB)
find_path(XKBCOMMON_INCLUDE_DIR xkbcommon/xkbcommon.h
