diff options
author | Marvin W <git@larma.de> | 2021-04-29 15:46:06 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-04-29 15:53:59 +0200 |
commit | 3880628de4785db4c0a03a79a0c486507fe9b1a8 (patch) | |
tree | 488180882a2a60576c68e688b743acfaff8d32f7 /cmake/FindGstRtp.cmake | |
parent | 328c3cf37f296f4519829afd03d21f94ea4153e5 (diff) | |
download | dino-3880628de4785db4c0a03a79a0c486507fe9b1a8.tar.gz dino-3880628de4785db4c0a03a79a0c486507fe9b1a8.zip |
Video optimizations
Diffstat (limited to 'cmake/FindGstRtp.cmake')
-rw-r--r-- | cmake/FindGstRtp.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/FindGstRtp.cmake b/cmake/FindGstRtp.cmake new file mode 100644 index 00000000..0756a985 --- /dev/null +++ b/cmake/FindGstRtp.cmake @@ -0,0 +1,14 @@ +include(PkgConfigWithFallback) +find_pkg_config_with_fallback(GstRtp + PKG_CONFIG_NAME gstreamer-rtp-1.0 + LIB_NAMES gstrtp + LIB_DIR_HINTS gstreamer-1.0 + INCLUDE_NAMES gst/rtp/rtp.h + INCLUDE_DIR_SUFFIXES gstreamer-1.0 gstreamer-1.0/include gstreamer-rtp-1.0 gstreamer-rtp-1.0/include + DEPENDS Gst +) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(GstRtp + REQUIRED_VARS GstRtp_LIBRARY + VERSION_VAR GstRtp_VERSION) |