From 3734a5368e44a3cef42faed41b0044679d16459d Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 17 Apr 2020 00:45:31 +0200 Subject: Fix wayland scanner warnings Summary: Tells cmake not to automoc certain files that don't need it, which would become a big fuss on the cmake output. Test Plan: No warnings Reviewers: #build_system, #kwin, #frameworks, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D28900 --- find-modules/FindWaylandScanner.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'find-modules/FindWaylandScanner.cmake') 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} -- cgit v1.2.1