diff options
author | Marvin W <git@larma.de> | 2021-03-29 13:20:12 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-03-29 13:20:12 +0200 |
commit | 5e58f2988382fffb70602cf308f6686b4731f0da (patch) | |
tree | 0e2ea3c441aaad189b3ad9ba200420d294f5061f /cmake | |
parent | c7d1ee4dc5a08715ed68ed69e918f5ec9cbd4b40 (diff) | |
download | dino-5e58f2988382fffb70602cf308f6686b4731f0da.tar.gz dino-5e58f2988382fffb70602cf308f6686b4731f0da.zip |
Migrate to libsrtp2
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindSrtp2.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/FindSrtp2.cmake b/cmake/FindSrtp2.cmake new file mode 100644 index 00000000..40b0ed97 --- /dev/null +++ b/cmake/FindSrtp2.cmake @@ -0,0 +1,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)
\ No newline at end of file |