mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-30 06:59:22 +08:00
13 lines
367 B
CMake
13 lines
367 B
CMake
|
find_path(SWRESAMPLE_INCLUDE_DIR
|
||
|
NAMES libswresample/swresample.h)
|
||
|
|
||
|
find_library(SWRESAMPLE_LIBRARY
|
||
|
NAMES swresample)
|
||
|
|
||
|
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)
|