]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libpcap/cmake/Modules/FindTC.cmake
MFV r339226 (peter): Record merge of serf-1.3.9.
[FreeBSD/FreeBSD.git] / contrib / libpcap / cmake / Modules / FindTC.cmake
1 #
2 # Try to find the Riverbed TurboCap library.
3 #
4
5 # Try to find the header
6 find_path(TC_INCLUDE_DIR TcApi.h)
7
8 # Try to find the library
9 find_library(TC_LIBRARY TcApi)
10
11 include(FindPackageHandleStandardArgs)
12 find_package_handle_standard_args(TC
13   DEFAULT_MSG
14   TC_INCLUDE_DIR
15   TC_LIBRARY
16 )
17
18 mark_as_advanced(
19   TC_INCLUDE_DIR
20   TC_LIBRARY
21 )
22
23 set(TC_INCLUDE_DIRS ${TC_INCLUDE_DIR})
24 set(TC_LIBRARIES ${TC_LIBRARY})