forked from osmocom/wireshark
plugins.example: Fix an installation path
This commit is contained in:
parent
b3fd206822
commit
e11c7559a8
|
@ -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 $<TARGET_FILE:hello> ${Wireshark_PLUGIN_INSTALL_DIR}
|
||||
COMMENT "Installing plugin to: ${Wireshark_PLUGIN_INSTALL_DIR}"
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:hello> "${Wireshark_PLUGIN_INSTALL_DIR}/epan"
|
||||
COMMENT "Installing plugin to: ${Wireshark_PLUGIN_INSTALL_DIR}/epan"
|
||||
)
|
||||
|
||||
string(TOLOWER "${PROJECT_NAME}-${PROJECT_VERSION}" _pkgname)
|
||||
|
|
Loading…
Reference in New Issue