diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-25 08:19:34 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-25 08:19:34 -0500 |
commit | 402c9f4bf0fab1228b757990b292eb7b83690dd6 (patch) | |
tree | 6f6545c296c3dcc086890de0e0459d533bbed1f1 /CMake/Wayland.cmake | |
parent | d4ac0df90606b2443b2969e354fecc788817df0b (diff) | |
parent | 1b5e0020c3cd31a9ffa06f91cb9e49acd0722173 (diff) |
Merge pull request #255 from christophgysin/ninja
cmake: fix ninja build
Diffstat (limited to 'CMake/Wayland.cmake')
-rw-r--r-- | CMake/Wayland.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/Wayland.cmake b/CMake/Wayland.cmake index 6647c5ee..f9349667 100644 --- a/CMake/Wayland.cmake +++ b/CMake/Wayland.cmake @@ -40,7 +40,7 @@ function(WAYLAND_ADD_PROTOCOL_CLIENT _sources _protocol _basename) get_filename_component(_infile ${_protocol} ABSOLUTE) set(_client_header "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-client-protocol.h") - set(_code "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-protocol.c") + set(_code "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-client-protocol.c") add_custom_command(OUTPUT "${_client_header}" COMMAND ${WAYLAND_SCANNER_EXECUTABLE} client-header < ${_infile} > ${_client_header} @@ -62,7 +62,7 @@ function(WAYLAND_ADD_PROTOCOL_SERVER _sources _protocol _basename) get_filename_component(_infile ${_protocol} ABSOLUTE) set(_server_header "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-server-protocol.h") - set(_code "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-protocol.c") + set(_code "${CMAKE_CURRENT_BINARY_DIR}/wayland-${_basename}-server-protocol.c") add_custom_command(OUTPUT "${_server_header}" COMMAND ${WAYLAND_SCANNER_EXECUTABLE} server-header < ${_infile} > ${_server_header} |