aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindWebRTCAudioProcessing.cmake
blob: 5f17805dc075db22effa041e3cc2cb4db2776887 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(WebRTCAudioProcessing
    PKG_CONFIG_NAME webrtc-audio-processing
    LIB_NAMES webrtc_audio_processing
    INCLUDE_NAMES webrtc/modules/audio_processing/include/audio_processing.h
    INCLUDE_DIR_SUFFIXES webrtc-audio-processing webrtc_audio_processing
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(WebRTCAudioProcessing
    REQUIRED_VARS WebRTCAudioProcessing_LIBRARY
    VERSION_VAR WebRTCAudioProcessing_VERSION)