mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-25 00:14:40 +00:00
CMake: Fix version checks
This commit is contained in:
parent
5103a7fb7b
commit
7b252d040a
1 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue