From 7b252d040a845b7e9c515f61927fbf5bf7ed4c3a Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 20 Aug 2022 22:16:28 +0200 Subject: CMake: Fix version checks --- plugins/rtp/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/rtp/CMakeLists.txt b/plugins/rtp/CMakeLists.txt index 3a24c31c..d093c3c1 100644 --- a/plugins/rtp/CMakeLists.txt +++ b/plugins/rtp/CMakeLists.txt @@ -16,19 +16,19 @@ 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(GstRtp_VERSION VERSION_GREATER "1.20") +if(GstRtp_VERSION VERSION_GREATER_EQUAL "1.20") set(RTP_DEFINITIONS ${RTP_DEFINITIONS} GST_1_20) endif() -if(VALA_VERSION VERSION_GREATER "0.56.1") +if(VALA_VERSION VERSION_GREATER_EQUAL "0.56.1") set(RTP_DEFINITIONS ${RTP_DEFINITIONS} VALA_0_56_1) endif() -- cgit v1.2.3-70-g09d2