FindRAQM.cmake 364 B

12345678
  1. include(FindPkgConfig)
  2. pkg_check_modules(PC_RAQM raqm)
  3. find_path(RAQM_INCLUDE_DIRS NAMES raqm.h HINTS ${PC_RAQM_INCLUDE_DIRS}
  4. ${PC_RAQM_INCLUDEDIR})
  5. find_library(RAQM_LIBRARIES NAMES raqm HINTS ${PC_RAQM_LIBRARY_DIRS}
  6. ${PC_RAQM_LIBDIR})
  7. include(FindPackageHandleStandardArgs)
  8. find_package_handle_standard_args(RAQM DEFAULT_MSG RAQM_INCLUDE_DIRS RAQM_LIBRARIES)