aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindGIO.cmake1
-rw-r--r--cmake/FindGstRtp.cmake5
2 files changed, 5 insertions, 1 deletions
diff --git a/cmake/FindGIO.cmake b/cmake/FindGIO.cmake
index 7d2fd65b..8ed4cb65 100644
--- a/cmake/FindGIO.cmake
+++ b/cmake/FindGIO.cmake
@@ -8,7 +8,6 @@ find_pkg_config_with_fallback(GIO
)
if(GIO_FOUND AND NOT GIO_VERSION)
- # TODO
find_package(GLib ${GLib_GLOBAL_VERSION})
set(GIO_VERSION ${GLib_VERSION})
endif()
diff --git a/cmake/FindGstRtp.cmake b/cmake/FindGstRtp.cmake
index 0756a985..e13a1be7 100644
--- a/cmake/FindGstRtp.cmake
+++ b/cmake/FindGstRtp.cmake
@@ -8,6 +8,11 @@ find_pkg_config_with_fallback(GstRtp
DEPENDS Gst
)
+if(GstRtp_FOUND AND NOT GstRtp_VERSION)
+ find_package(Gst)
+ set(GstRtp_VERSION ${Gst_VERSION})
+endif()
+
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GstRtp
REQUIRED_VARS GstRtp_LIBRARY