You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
507B

  1. find_path(SWRESAMPLE_INCLUDE_DIR
  2. NAMES libswresample/swresample.h
  3. HINTS ${FFMPEG_PATH_ROOT}
  4. PATH_SUFFIXES include)
  5. find_library(SWRESAMPLE_LIBRARY
  6. NAMES swresample
  7. HINTS ${FFMPEG_PATH_ROOT}
  8. PATH_SUFFIXES bin lib)
  9. set(SWRESAMPLE_LIBRARIES ${SWRESAMPLE_LIBRARY})
  10. set(SWRESAMPLE_INCLUDE_DIRS ${SWRESAMPLE_INCLUDE_DIR})
  11. include(FindPackageHandleStandardArgs)
  12. find_package_handle_standard_args(SWRESAMPLE DEFAULT_MSG SWRESAMPLE_LIBRARY SWRESAMPLE_INCLUDE_DIR)