From 6c258c2f2819a137e8254a0751e2ea63644d9991 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 20 Aug 2022 22:16:28 +0200 Subject: [PATCH] CMake: Fix version checks --- plugins/rtp/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/rtp/CMakeLists.txt b/plugins/rtp/CMakeLists.txt index c8652c54..91bac0c2 100644 --- a/plugins/rtp/CMakeLists.txt +++ b/plugins/rtp/CMakeLists.txt @@ -15,15 +15,15 @@ find_packages(RTP_PACKAGES REQUIRED set(RTP_DEFINITIONS) -if(GstRtp_VERSION VERSION_GREATER "1.16") +if(GstRtp_VERSION VERSION_GREATER_EQUAL "1.16") set(RTP_DEFINITIONS ${RTP_DEFINITIONS} GST_1_16) endif() -if(GstRtp_VERSION VERSION_GREATER "1.18") +if(GstRtp_VERSION VERSION_GREATER_EQUAL "1.18") set(RTP_DEFINITIONS ${RTP_DEFINITIONS} GST_1_18) endif() -if(GLib_VERSION VERSION_GREATER "2.64") +if(GLib_VERSION VERSION_GREATER_EQUAL "2.64") set(RTP_DEFINITIONS ${RTP_DEFINITIONS} GLIB_2_64) endif()