aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-08-20 22:16:28 +0200
committerMarvin W <git@larma.de>2022-08-21 00:41:27 +0200
commit7b252d040a845b7e9c515f61927fbf5bf7ed4c3a (patch)
tree27b26fa73cd138eadeeecc0c146e2e245807cbb3 /plugins
parent5103a7fb7b32fcee6656dbae0eec54fb26f89d80 (diff)
downloaddino-7b252d040a845b7e9c515f61927fbf5bf7ed4c3a.tar.gz
dino-7b252d040a845b7e9c515f61927fbf5bf7ed4c3a.zip
CMake: Fix version checks
Diffstat (limited to 'plugins')
-rw-r--r--plugins/rtp/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
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()