From e11c7559a81094e55a35354fe9e348bc7e8bc0b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 17 Jun 2022 16:35:20 +0100 Subject: [PATCH] plugins.example: Fix an installation path --- doc/plugins.example/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins.example/CMakeLists.txt b/doc/plugins.example/CMakeLists.txt index d83ef30c9e..26e3ad25c9 100644 --- a/doc/plugins.example/CMakeLists.txt +++ b/doc/plugins.example/CMakeLists.txt @@ -52,8 +52,8 @@ install(TARGETS hello # This custom target installs the plugin to the plugin dir in WiresharkConfig.cmake. # It does not use CMAKE_INSTALL_PREFIX. add_custom_target(copy_plugin - COMMAND ${CMAKE_COMMAND} -E copy $ ${Wireshark_PLUGIN_INSTALL_DIR} - COMMENT "Installing plugin to: ${Wireshark_PLUGIN_INSTALL_DIR}" + COMMAND ${CMAKE_COMMAND} -E copy $ "${Wireshark_PLUGIN_INSTALL_DIR}/epan" + COMMENT "Installing plugin to: ${Wireshark_PLUGIN_INSTALL_DIR}/epan" ) string(TOLOWER "${PROJECT_NAME}-${PROJECT_VERSION}" _pkgname)