]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - cmake/Modules/FindTC.cmake
Import vendor revision 77da77c36e5d958f9b8d6729876a33f670de031f from:
[FreeBSD/FreeBSD.git] / 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})