diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-12-16 20:01:13 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2019-12-17 00:10:26 +0000 |
commit | 5cfd8bca953e7cd87bd9253609c63f86e6c2009b (patch) | |
tree | 30cc531970e711efe67b57777abca4cadbd93c1a /ui/qt | |
parent | dd90a8fd6f5e0709311441f6e88209a5875bbae0 (diff) |
CMake: fix CMake 3.16 warning about CMP0071
Prevent a file from being processed by moc/uic as it is not needed. This
addresses a new CMake warning "Policy CMP0071 is not set: Let AUTOMOC
and AUTOUIC process GENERATED files."
Change-Id: I8ed458099cdf29472dad29168786cf16b95595fa
Reviewed-on: https://code.wireshark.org/review/35468
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/CMakeLists.txt b/ui/qt/CMakeLists.txt index b209c0a9a3..09335acbfa 100644 --- a/ui/qt/CMakeLists.txt +++ b/ui/qt/CMakeLists.txt @@ -638,6 +638,12 @@ set_source_files_properties( COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" ) +set_source_files_properties( + wireshark-tap-register.c + PROPERTIES + SKIP_AUTOGEN ON +) + add_definitions(${QT_DEFINITIONS}) register_tap_files(wireshark-tap-register.c |