From 121abba1a237fba2c9a9377ced3ca7a47b5eef25 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 3 Feb 2018 17:22:09 -0800 Subject: Have individual plugin CMakeLists.txt files add library dependencies. This removes any knowledge of plugin types from cmake/modules/WiresharkPlugin.cmake, so that it doesn't have to be changed if we add a new plugin type. Revert to the second argument to add_plugin_library() and install_plugin() being the subfolder. Change-Id: I668ab90b28c73a8b12ca8e3e906b8de2f9395ca5 Reviewed-on: https://code.wireshark.org/review/25585 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- plugins/epan/transum/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/epan/transum/CMakeLists.txt') diff --git a/plugins/epan/transum/CMakeLists.txt b/plugins/epan/transum/CMakeLists.txt index c814704da8..18eb54bd7c 100644 --- a/plugins/epan/transum/CMakeLists.txt +++ b/plugins/epan/transum/CMakeLists.txt @@ -59,6 +59,8 @@ register_plugin_files(plugin.c add_plugin_library(transum epan) +target_link_libraries(transum epan) + install_plugin(transum epan) file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h") -- cgit v1.2.3