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()