FindRAQM.cmake 358 B

12345678
  1. include(FindPkgConfig)
  2. pkg_check_modules(PC_RAQM raqm)
  3. find_path(RAQM_INCLUDE_DIR NAMES raqm.h HINTS ${PC_RAQM_INCLUDE_DIRS}
  4. ${PC_RAQM_INCLUDEDIR})
  5. find_library(RAQM_LIBRARY 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_DIR RAQM_LIBRARY)