Merge pull request #254 from christophgysin/typo

cmake: Fix typo
This commit is contained in:
taiyu 2015-11-25 04:38:20 -08:00
commit a0b5953aa8

View file

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