summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/libpcap/cmake/Modules/FindTC.cmake
blob: bb24c6671aa3c3ec34ddaf0bb0f7873b47cdbb08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Try to find the Riverbed TurboCap library.
#

# Try to find the header
find_path(TC_INCLUDE_DIR TcApi.h)

# Try to find the library
find_library(TC_LIBRARY TcApi)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(TC
  DEFAULT_MSG
  TC_INCLUDE_DIR
  TC_LIBRARY
)

mark_as_advanced(
  TC_INCLUDE_DIR
  TC_LIBRARY
)

set(TC_INCLUDE_DIRS ${TC_INCLUDE_DIR})
set(TC_LIBRARIES ${TC_LIBRARY})