aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindWaylandScanner.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'find-modules/FindWaylandScanner.cmake')
-rw-r--r--find-modules/FindWaylandScanner.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindWaylandScanner.cmake b/find-modules/FindWaylandScanner.cmake
index ed9c4c4c..0f08f590 100644
--- a/find-modules/FindWaylandScanner.cmake
+++ b/find-modules/FindWaylandScanner.cmake
@@ -125,7 +125,7 @@ function(ecm_add_wayland_client_protocol out_var)
set_source_files_properties(${_client_header} GENERATED)
set_source_files_properties(${_code} GENERATED)
- set_property(SOURCE ${_client_header} PROPERTY SKIP_AUTOMOC ON)
+ set_property(SOURCE ${_client_header} ${_code} PROPERTY SKIP_AUTOMOC ON)
add_custom_command(OUTPUT "${_client_header}"
COMMAND ${WaylandScanner_EXECUTABLE} client-header ${_infile} ${_client_header}