diff options
| author | Laurent Montel <montel@kde.org> | 2018-06-05 13:23:53 +0200 | 
|---|---|---|
| committer | Laurent Montel <montel@kde.org> | 2018-06-05 13:23:53 +0200 | 
| commit | d3e51443c27ba0d0249be41235cc0af820f293bc (patch) | |
| tree | 3e1288bdf931db2b2c910d8e9e20411bdb707493 /find-modules/FindWaylandScanner.cmake | |
| parent | 0dc051905ae97a48e0b40f6fcf3151b4e919264d (diff) | |
| download | extra-cmake-modules-d3e51443c27ba0d0249be41235cc0af820f293bc.tar.gz extra-cmake-modules-d3e51443c27ba0d0249be41235cc0af820f293bc.tar.bz2  | |
skip automoc here
Diffstat (limited to 'find-modules/FindWaylandScanner.cmake')
| -rw-r--r-- | find-modules/FindWaylandScanner.cmake | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/find-modules/FindWaylandScanner.cmake b/find-modules/FindWaylandScanner.cmake index 4052cdab..287e50a9 100644 --- a/find-modules/FindWaylandScanner.cmake +++ b/find-modules/FindWaylandScanner.cmake @@ -125,6 +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)      add_custom_command(OUTPUT "${_client_header}"          COMMAND ${WaylandScanner_EXECUTABLE} client-header < ${_infile} > ${_client_header} @@ -154,7 +155,7 @@ function(ecm_add_wayland_server_protocol out_var)      get_filename_component(_infile ${ARGS_PROTOCOL} ABSOLUTE)      set(_server_header "${CMAKE_CURRENT_BINARY_DIR}/wayland-${ARGS_BASENAME}-server-protocol.h") - +    set_property(SOURCE ${_server_header} PROPERTY SKIP_AUTOMOC ON)      set_source_files_properties(${_server_header} GENERATED)      add_custom_command(OUTPUT "${_server_header}"  | 
