You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
832 B

  1. # - Try to find tvmet headers
  2. # Once done this will define
  3. #
  4. # TVMET_FOUND - system has tvmet lib
  5. # TVMET_INCLUDE_DIR - the tvmet include directory
  6. #
  7. # Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
  8. # Adapted from FindEigen.cmake:
  9. # Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
  10. # Redistribution and use is allowed according to the terms of the BSD license.
  11. # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
  12. if (TVMET_INCLUDE_DIR)
  13. # in cache already
  14. set(TVMET_FOUND TRUE)
  15. else (TVMET_INCLUDE_DIR)
  16. find_path(TVMET_INCLUDE_DIR NAMES tvmet/tvmet.h
  17. PATHS
  18. ${TVMETDIR}/
  19. ${INCLUDE_INSTALL_DIR}
  20. )
  21. include(FindPackageHandleStandardArgs)
  22. find_package_handle_standard_args(Tvmet DEFAULT_MSG TVMET_INCLUDE_DIR)
  23. mark_as_advanced(TVMET_INCLUDE_DIR)
  24. endif(TVMET_INCLUDE_DIR)