Fixed wayland library detection.

This commit is contained in:
Armin Novak 2019-01-28 15:46:12 +01:00
parent 2418c43cac
commit 99c92308a3

View File

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