FindTC.cmake 413 B

123456789101112131415161718192021222324
  1. #
  2. # Try to find the Riverbed TurboCap library.
  3. #
  4. # Try to find the header
  5. find_path(TC_INCLUDE_DIR TcApi.h)
  6. # Try to find the library
  7. find_library(TC_LIBRARY TcApi)
  8. include(FindPackageHandleStandardArgs)
  9. find_package_handle_standard_args(TC
  10. DEFAULT_MSG
  11. TC_INCLUDE_DIR
  12. TC_LIBRARY
  13. )
  14. mark_as_advanced(
  15. TC_INCLUDE_DIR
  16. TC_LIBRARY
  17. )
  18. set(TC_INCLUDE_DIRS ${TC_INCLUDE_DIR})
  19. set(TC_LIBRARIES ${TC_LIBRARY})