LATER... ei_kerberos_kdc_session_key ...
[wireshark-sm.git] / WiresharkConfig.cmake.in
blobd8981b8b2ffc23fbd790dd6512159e460e4ae854
1 set(Wireshark_MAJOR_VERSION @PROJECT_MAJOR_VERSION@)
2 set(Wireshark_MINOR_VERSION @PROJECT_MINOR_VERSION@)
3 set(Wireshark_PATCH_VERSION @PROJECT_PATCH_VERSION@)
4 set(Wireshark_VERSION "@PROJECT_VERSION@")
6 set(Wireshark_PLUGINS_ENABLED @HAVE_PLUGINS@)
7 set(Wireshark_PLUGIN_LIBDIR "@PLUGIN_INSTALL_VERSION_LIBDIR@")
9 @PACKAGE_INIT@
11 set_and_check(Wireshark_INSTALL_PREFIX     "${PACKAGE_PREFIX_DIR}")
12 set_and_check(Wireshark_LIB_DIR            "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
13 set_and_check(Wireshark_INCLUDE_DIR        "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/wireshark")
15 # set_and_check() cannot be used with directories that may or may not exist.
16 # If no plugins or extcaps are built the respective directories will not exist in the target
17 # system and set_and_check() and therefore find_package() will fail with a FATAL_ERROR,
18 # which is not helpful because the variable is correct, it's just that the empty directories
19 # were not created (also correctly, empty directories are just noise).
21 if(Wireshark_PLUGINS_ENABLED)
22     set(Wireshark_PLUGIN_INSTALL_DIR "@PACKAGE_PLUGIN_INSTALL_VERSION_LIBDIR@")
23 endif()
24 set(Wireshark_EXTCAP_INSTALL_DIR "@PACKAGE_EXTCAP_INSTALL_LIBDIR@")
26 include("${CMAKE_CURRENT_LIST_DIR}/WiresharkTargets.cmake")
28 check_required_components(Wireshark)