aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-02-20 16:19:22 -0800
committerGerald Combs <gerald@wireshark.org>2022-04-04 09:39:27 -0700
commit5d3ffe9b57cbd073b2ad3742f8be9768c324bb62 (patch)
tree32762dde5cf54deb4b1104f680acd9c99b950b4b /cmake/modules
parent9ec6b50027ad80794e50870a4b876bb6637c1f6d (diff)
More Logshark to Logwolf renaming.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/WiresharkPlugin.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/modules/WiresharkPlugin.cmake b/cmake/modules/WiresharkPlugin.cmake
index dc5926807a..8b942004aa 100644
--- a/cmake/modules/WiresharkPlugin.cmake
+++ b/cmake/modules/WiresharkPlugin.cmake
@@ -53,6 +53,14 @@ macro(ADD_PLUGIN_LIBRARY _plugin _subfolder)
add_dependencies(plugins ${_plugin})
endmacro()
+macro(ADD_LOGWOLF_PLUGIN_LIBRARY _plugin _subfolder)
+ ADD_PLUGIN_LIBRARY(${_plugin} ${_subfolder})
+
+ set_target_properties(${_plugin} PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${LOGWOLF_PLUGIN_DIR}/${_subfolder}
+ )
+endmacro()
+
macro(INSTALL_PLUGIN _plugin _subfolder)
install(TARGETS ${_plugin}
LIBRARY DESTINATION ${PLUGIN_INSTALL_VERSION_LIBDIR}/${_subfolder} NAMELINK_SKIP