|
|
@ -35,7 +35,7 @@ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
|
|
|
|
# wayland_add_protocol_client(outfiles inputfile basename)
|
|
|
|
# wayland_add_protocol_client(outfiles inputfile basename)
|
|
|
|
function(WAYLAND_ADD_PROTOCOL_CLIENT _sources _protocol _basename)
|
|
|
|
function(WAYLAND_ADD_PROTOCOL_CLIENT _sources _protocol _basename)
|
|
|
|
if(NOT WAYLAND_SCANNER_EXECUTABLE)
|
|
|
|
if(NOT WAYLAND_SCANNER_EXECUTABLE)
|
|
|
|
message(FATAL "The wayland-scanner executable has nto been found on your system. You must install it.")
|
|
|
|
message(FATAL "The wayland-scanner executable has not been found on your system. You must install it.")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
get_filename_component(_infile ${_protocol} ABSOLUTE)
|
|
|
|
get_filename_component(_infile ${_protocol} ABSOLUTE)
|
|
|
@ -57,7 +57,7 @@ endfunction()
|
|
|
|
# wayland_add_protocol_server(outfiles inputfile basename)
|
|
|
|
# wayland_add_protocol_server(outfiles inputfile basename)
|
|
|
|
function(WAYLAND_ADD_PROTOCOL_SERVER _sources _protocol _basename)
|
|
|
|
function(WAYLAND_ADD_PROTOCOL_SERVER _sources _protocol _basename)
|
|
|
|
if(NOT WAYLAND_SCANNER_EXECUTABLE)
|
|
|
|
if(NOT WAYLAND_SCANNER_EXECUTABLE)
|
|
|
|
message(FATAL "The wayland-scanner executable has nto been found on your system. You must install it.")
|
|
|
|
message(FATAL "The wayland-scanner executable has not been found on your system. You must install it.")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
get_filename_component(_infile ${_protocol} ABSOLUTE)
|
|
|
|
get_filename_component(_infile ${_protocol} ABSOLUTE)
|
|
|
|