You cannot 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
507 B
CMake
17 lines
507 B
CMake
find_path(SWRESAMPLE_INCLUDE_DIR
|
|
NAMES libswresample/swresample.h
|
|
HINTS ${FFMPEG_PATH_ROOT}
|
|
PATH_SUFFIXES include)
|
|
|
|
find_library(SWRESAMPLE_LIBRARY
|
|
NAMES swresample
|
|
HINTS ${FFMPEG_PATH_ROOT}
|
|
PATH_SUFFIXES bin lib)
|
|
|
|
set(SWRESAMPLE_LIBRARIES ${SWRESAMPLE_LIBRARY})
|
|
set(SWRESAMPLE_INCLUDE_DIRS ${SWRESAMPLE_INCLUDE_DIR})
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(SWRESAMPLE DEFAULT_MSG SWRESAMPLE_LIBRARY SWRESAMPLE_INCLUDE_DIR)
|