FindAVUTIL.cmake 383 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
find_path(AVUTIL_INCLUDE_DIR
  NAMES libavutil/avutil.h
  PATHS $ENV{HOME}/ffmpeg/include)

find_library(AVUTIL_LIBRARY
  NAMES avutil
  PATHS $ENV{HOME}/ffmpeg/lib)

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)