ZLMediaKit/cmake/FindAVUTIL.cmake
2017-05-08 18:03:43 +08:00

13 lines
319 B
CMake

find_path(AVUTIL_INCLUDE_DIR
NAMES libavutil/avutil.h)
find_library(AVUTIL_LIBRARY
NAMES avutil)
set(AVUTIL_LIBRARIES ${AVUTIL_LIBRARY})
set(AVUTIL_INCLUDE_DIRS ${AVUTIL_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(AVUTIL DEFAULT_MSG AVUTIL_LIBRARY AVUTIL_INCLUDE_DIR)