2015-12-02 06:57:53 +01:00
|
|
|
include(Wayland)
|
|
|
|
|
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-xdg-shell
|
|
|
|
xdg-shell.xml
|
|
|
|
xdg-shell
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-desktop-shell
|
|
|
|
desktop-shell.xml
|
|
|
|
desktop-shell
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-desktop-shell
|
|
|
|
desktop-shell.xml
|
|
|
|
desktop-shell
|
|
|
|
)
|
|
|
|
|
2015-12-03 14:35:22 +01:00
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-swaylock
|
|
|
|
swaylock.xml
|
|
|
|
swaylock
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
|
|
|
|
swaylock.xml
|
|
|
|
swaylock
|
|
|
|
)
|
|
|
|
|
2015-12-02 06:57:53 +01:00
|
|
|
add_library(sway-protocols
|
|
|
|
${proto-client-xdg-shell}
|
|
|
|
${proto-client-desktop-shell}
|
|
|
|
${proto-server-desktop-shell}
|
2015-12-03 14:35:22 +01:00
|
|
|
${proto-client-swaylock}
|
|
|
|
${proto-server-swaylock}
|
2015-12-02 06:57:53 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE)
|