FindFontconfig.cmake 325 B

1234567891011121314151617
  1. # FindFontconfig
  2. # --------------
  3. #
  4. # Locate Fontconfig library
  5. #
  6. if(NOT FONTCONFIG_FOUND)
  7. find_package(PkgConfig)
  8. pkg_search_module(FONTCONFIG fontconfig)
  9. endif()
  10. include(FindPackageHandleStandardArgs)
  11. find_package_handle_standard_args(Fontconfig
  12. REQUIRED_VARS FONTCONFIG_FOUND
  13. VERSION_VAR FONTCONFIG_VERSION
  14. )