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:
Peter Wu 2015-03-02 00:16:16 +01:00 committed by Jeff Morriss
parent 963fbf3bc4
commit 48d376fbb2
5 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -71,6 +71,7 @@ endif()
register_dissector_files(plugin.c
plugin
${DISSECTOR_SRC}
${DISSECTOR_SUPPORT_SRC}
)
add_plugin_library(mate)

View File

@ -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)

View File

@ -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)

View File

@ -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)