plugins: fix dissector registration with CMake
Noticed when comparing output of `tshark -G fields` between autofoo and cmake builds. With this change, I see no differences anymore. While only WiMax needs this change, do a similar thing for consistency with autofoo and between dissectors (actually, the contents of ${PLUGIN_FILES} minus plugin.c was used). Change-Id: Ib61f69dcc0b8eda713da931b6cc3e946848bea9d Reviewed-on: https://code.wireshark.org/review/7462 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
parent
963fbf3bc4
commit
48d376fbb2
|
@ -55,6 +55,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|||
register_dissector_files(plugin.c
|
||||
plugin
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
add_plugin_library(m2m)
|
||||
|
|
|
@ -71,6 +71,7 @@ endif()
|
|||
register_dissector_files(plugin.c
|
||||
plugin
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
add_plugin_library(mate)
|
||||
|
|
|
@ -65,6 +65,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|||
register_dissector_files(plugin.c
|
||||
plugin
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
add_plugin_library(opcua)
|
||||
|
|
|
@ -62,6 +62,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|||
register_dissector_files(plugin.c
|
||||
plugin
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
add_plugin_library(profinet)
|
||||
|
|
|
@ -95,6 +95,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|||
register_dissector_files(plugin.c
|
||||
plugin
|
||||
${DISSECTOR_SRC}
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
add_plugin_library(wimax)
|
||||
|
|
Loading…
Reference in New Issue