aboutsummaryrefslogtreecommitdiffstats
path: root/doc/plugins.example
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-08-21 23:44:12 +0100
committerJoão Valverde <j@v6e.pt>2018-08-21 23:11:04 +0000
commit6b9beb6ca16374aa768fd965d26edce41ecbf1a4 (patch)
tree925676ed10e061ac80e8d6699350560238510eb2 /doc/plugins.example
parent450ff674a6e84c3abebff76a470d72114083f27f (diff)
Fix comment.
Change-Id: Ib41b9a84333a3d3d34ae9c0797dbae10141f9e53 Reviewed-on: https://code.wireshark.org/review/29235 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'doc/plugins.example')
-rw-r--r--doc/plugins.example/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/plugins.example/CMakeLists.txt b/doc/plugins.example/CMakeLists.txt
index d754fc4cf3..23a7e8f713 100644
--- a/doc/plugins.example/CMakeLists.txt
+++ b/doc/plugins.example/CMakeLists.txt
@@ -17,9 +17,8 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(WIRESHARK REQUIRED wireshark>=2.5)
### CMake Bug: Use PKG_CONFIG_PATH instead of CMAKE_PREFIX_PATH
# https://gitlab.kitware.com/cmake/cmake/issues/15805
-### CMake Bug: If you run into problems please use the "Unix Makefiles" generator.
-### Ninja just wipes the pkg-config variables.
-# https://gitlab.kitware.com/cmake/cmake/issues/17531 (and probably others)
+# Note: If using PKG_CONFIG_PATH the variable needs to be set as exported
+# in the execution environment.
pkg_get_variable(WIRESHARK_PLUGIN_DIR wireshark plugindir)
set(PLUGIN_INSTALL_LIBDIR "${WIRESHARK_PLUGIN_DIR}/epan")