2018-02-23 20:24:20 +01:00
|
|
|
# SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net
|
2016-03-08 21:17:38 +01:00
|
|
|
# Licence for this file: LGPL v2.1 See LICENCE for details.
|
|
|
|
|
|
|
|
# - Find AVUTIL
|
2018-02-23 20:24:20 +01:00
|
|
|
# Find the installation of this package: includes and libraries.
|
2016-03-08 21:17:38 +01:00
|
|
|
#
|
2018-02-23 20:24:20 +01:00
|
|
|
# AVUTIL_INCLUDE_DIRS - where to find headers for this package.
|
|
|
|
# AVUTIL_LIBRARIES - libraries to link to when using this package.
|
|
|
|
# AVUTIL_FOUND - true iff this package can be found.
|
2016-03-08 21:17:38 +01:00
|
|
|
|
2018-02-23 20:24:20 +01:00
|
|
|
if (AVUTIL_INCLUDE_DIRS)
|
2016-03-08 21:17:38 +01:00
|
|
|
set (AVUTIL_FIND_QUIETLY TRUE)
|
2016-04-06 09:18:01 +02:00
|
|
|
endif ()
|
2016-03-08 21:17:38 +01:00
|
|
|
|
2018-02-23 20:24:20 +01:00
|
|
|
find_path (AVUTIL_INCLUDE_DIRS libavutil/cpu.h)
|
2016-03-08 21:17:38 +01:00
|
|
|
|
|
|
|
find_library (AVUTIL_LIBRARIES NAMES avutil)
|
|
|
|
|
|
|
|
include (FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args (
|
2018-02-23 20:24:20 +01:00
|
|
|
AVUTIL DEFAULT_MSG AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS)
|
2016-03-08 21:17:38 +01:00
|
|
|
|
2018-02-23 20:24:20 +01:00
|
|
|
mark_as_advanced (AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS)
|