FindFribidi.cmake 389 B

123456789101112
  1. find_path(FRIBIDI_INCLUDE_DIR
  2. NAMES fribidi/fribidi.h)
  3. set(FRIBIDI_INCLUDE_DIR "${FRIBIDI_INCLUDE_DIR}/fribidi")
  4. find_library(FRIBIDI_LIBRARY NAMES fribidi)
  5. include(FindPackageHandleStandardArgs)
  6. find_package_handle_standard_args(FriBidi
  7. FOUND_VAR FRIBIDI_FOUND
  8. REQUIRED_VARS FRIBIDI_LIBRARY FRIBIDI_INCLUDE_DIR
  9. VERSION_VAR FRIBIDI_VERSION_STRING
  10. )