Findqmdnsengine.cmake 479 B

1234567891011121314151617181920212223
  1. # QMDNSENGINE_FOUND
  2. # QMDNS_INCLUDE_DIR
  3. # QMDNS_LIBRARIES
  4. find_path(QMDNS_INCLUDE_DIR
  5. NAMES qmdnsengine/mdns.h
  6. PATH_SUFFIXES include
  7. )
  8. find_library(QMDNS_LIBRARIES
  9. NAMES libqmdnsengine.a
  10. PATHS /usr/local /usr
  11. PATH_SUFFIXES lib64 lib
  12. )
  13. include(FindPackageHandleStandardArgs)
  14. find_package_handle_standard_args(qmdnsengine
  15. FOUND_VAR QMDNSENGINE_FOUND
  16. REQUIRED_VARS QMDNS_INCLUDE_DIR QMDNS_LIBRARIES
  17. )
  18. mark_as_advanced(QMDNS_INCLUDE_DIR QMDNS_LIBRARIES)