diff options
author | Aleix Pol <aleixpol@kde.org> | 2020-04-17 00:45:31 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2020-04-18 02:04:10 +0200 |
commit | 3734a5368e44a3cef42faed41b0044679d16459d (patch) | |
tree | 2b8a83584eca1e04066f3b08eb39d39a306cf797 /find-modules/FindWaylandScanner.cmake | |
parent | c59d64f7a93354b9769f13e702ad04afee25f8a1 (diff) | |
download | extra-cmake-modules-3734a5368e44a3cef42faed41b0044679d16459d.tar.gz extra-cmake-modules-3734a5368e44a3cef42faed41b0044679d16459d.tar.bz2 |
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
Diffstat (limited to 'find-modules/FindWaylandScanner.cmake')
-rw-r--r-- | find-modules/FindWaylandScanner.cmake | 2 |
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} |