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
483B

  1. find_path(AVFORMAT_INCLUDE_DIR
  2. NAMES libavformat/avformat.h
  3. HINTS ${FFMPEG_PATH_ROOT}
  4. PATH_SUFFIXES include)
  5. find_library(AVFORMAT_LIBRARY
  6. NAMES avformat
  7. HINTS ${FFMPEG_PATH_ROOT}
  8. PATH_SUFFIXES bin lib)
  9. set(AVFORMAT_LIBRARIES ${AVFORMAT_LIBRARY})
  10. set(AVFORMAT_INCLUDE_DIRS ${AVFORMAT_INCLUDE_DIR})
  11. include(FindPackageHandleStandardArgs)
  12. find_package_handle_standard_args(AVFORMAT DEFAULT_MSG AVFORMAT_LIBRARY AVFORMAT_INCLUDE_DIR)