xref: /freebsd/contrib/libpcap/cmake/Modules/FindTC.cmake (revision a90b9d0159070121c221b966469c3e36d912bf82)
1#
2# Try to find the Riverbed TurboCap library.
3#
4
5# Try to find the header
6find_path(TC_INCLUDE_DIR TcApi.h)
7
8# Try to find the library
9find_library(TC_LIBRARY TcApi)
10
11include(FindPackageHandleStandardArgs)
12find_package_handle_standard_args(TC
13  DEFAULT_MSG
14  TC_INCLUDE_DIR
15  TC_LIBRARY
16)
17
18mark_as_advanced(
19  TC_INCLUDE_DIR
20  TC_LIBRARY
21)
22
23set(TC_INCLUDE_DIRS ${TC_INCLUDE_DIR})
24set(TC_LIBRARIES ${TC_LIBRARY})
25