aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a928f69f91..07a9863783 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -792,6 +792,11 @@ foreach(PLUGIN_DIR ${PLUGIN_SRC_DIRS})
add_subdirectory( ${PLUGIN_DIR} )
endforeach()
+if(ENABLE_EXTCAP)
+ set(HAVE_EXTCAP 1)
+ set(EXTCAP_DIR "${DATAFILE_DIR}/extcap/")
+endif()
+
add_subdirectory( asn1 EXCLUDE_FROM_ALL )
add_subdirectory( capchild )
add_subdirectory( caputils )
@@ -945,6 +950,15 @@ set(SHARK_COMMON_SRC
version_info.c
)
+# sources for external capture interfaces
+if(ENABLE_EXTCAP)
+ set(SHARK_COMMON_SRC
+ ${SHARK_COMMON_SRC}
+ extcap.c
+ extcap_parser.c
+ )
+endif()
+
set(TSHARK_TAP_SRC
ui/cli/tap-afpstat.c
ui/cli/tap-ansi_astat.c