aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindSrtp2.cmake
blob: 40b0ed9795b3376e216957ba309904edabeb5e9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Srtp2
    PKG_CONFIG_NAME libsrtp2
    LIB_NAMES srtp2
    INCLUDE_NAMES srtp2/srtp.h
    INCLUDE_DIR_SUFFIXES srtp2 srtp2/include
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Srtp2
    REQUIRED_VARS Srtp2_LIBRARY
    VERSION_VAR Srtp2_VERSION)