mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +01:00
Upgrade libsoxr to 0.1.3
This commit is contained in:
23
lib-src/libsoxr/cmake/Modules/FindLibAVUtil.cmake
Normal file
23
lib-src/libsoxr/cmake/Modules/FindLibAVUtil.cmake
Normal file
@@ -0,0 +1,23 @@
|
||||
# SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net
|
||||
# Licence for this file: LGPL v2.1 See LICENCE for details.
|
||||
|
||||
# - Find AVUTIL
|
||||
# Find the installation of this package: includes and libraries.
|
||||
#
|
||||
# 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.
|
||||
|
||||
if (AVUTIL_INCLUDE_DIRS)
|
||||
set (AVUTIL_FIND_QUIETLY TRUE)
|
||||
endif ()
|
||||
|
||||
find_path (AVUTIL_INCLUDE_DIRS libavutil/cpu.h)
|
||||
|
||||
find_library (AVUTIL_LIBRARIES NAMES avutil)
|
||||
|
||||
include (FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args (
|
||||
AVUTIL DEFAULT_MSG AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS)
|
||||
|
||||
mark_as_advanced (AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS)
|
||||
Reference in New Issue
Block a user