mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 07:59:03 +00:00
Update libpcap to 1.9.0 (no patches applied yet)
This commit is contained in:
24
libpcap/cmake/Modules/FindTC.cmake
Normal file
24
libpcap/cmake/Modules/FindTC.cmake
Normal file
@@ -0,0 +1,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})
|
||||
Reference in New Issue
Block a user