From 9f29b9a556634e41d13fa298f9634b67fdd0a749 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Tue, 30 Jul 2019 19:45:58 -0700 Subject: tools: Update dissectors for Wireshark major version 3, new CHDR Dissectors may now be incompatible with earlier versions. Fixes ZPU dissector. --- tools/dissectors/epan/zpu/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tools/dissectors/epan/zpu/CMakeLists.txt (limited to 'tools/dissectors/epan/zpu/CMakeLists.txt') diff --git a/tools/dissectors/epan/zpu/CMakeLists.txt b/tools/dissectors/epan/zpu/CMakeLists.txt new file mode 100644 index 000000000..043ee8a7a --- /dev/null +++ b/tools/dissectors/epan/zpu/CMakeLists.txt @@ -0,0 +1,25 @@ +set_module_info(zpu 4 0 0 0) + +set(DISSECTOR_SRC + ${CMAKE_CURRENT_SOURCE_DIR}/packet-zpu.c +) + +set(PLUGIN_FILES + ${CMAKE_CURRENT_BINARY_DIR}/plugin.c + ${DISSECTOR_SRC} +) + +register_plugin_files(${CMAKE_CURRENT_BINARY_DIR}/plugin.c + plugin + ${DISSECTOR_SRC} +) + +add_plugin_library(zpu epan) + +set_target_properties(zpu PROPERTIES PREFIX "") +set_target_properties(zpu PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +target_link_libraries(zpu wireshark epan) + +install_plugin(zpu epan) + + -- cgit v1.2.3