summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/src/amqp.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/qpid/cpp/src/amqp.cmake b/qpid/cpp/src/amqp.cmake
index 2602c30c27..d6e52d62ae 100644
--- a/qpid/cpp/src/amqp.cmake
+++ b/qpid/cpp/src/amqp.cmake
@@ -24,22 +24,22 @@ find_package(Proton 0.5)
set (amqp_default ${amqp_force})
set (maximum_version 0.9)
if (Proton_FOUND)
- if (Proton_VERSION GREATER ${maximum_version})
+ if (Proton_VERSION VERSION_GREATER ${maximum_version})
message(WARNING "Qpid proton ${Proton_VERSION} is not a tested version and might not be compatible, ${maximum_version} is highest tested; build may not work")
- endif (Proton_VERSION GREATER ${maximum_version})
+ endif (Proton_VERSION VERSION_GREATER ${maximum_version})
message(STATUS "Qpid proton found, amqp 1.0 support enabled")
set (amqp_default ON)
#remove when 0.5 no longer supported
if (NOT Proton_VERSION EQUAL 0.5)
set (HAVE_PROTON_TRACER 1)
endif (NOT Proton_VERSION EQUAL 0.5)
- if (Proton_VERSION GREATER 0.7)
+ if (Proton_VERSION VERSION_GREATER 0.7)
set (USE_PROTON_TRANSPORT_CONDITION 1)
set (HAVE_PROTON_EVENTS 1)
- endif (Proton_VERSION GREATER 0.7)
- if (Proton_VERSION GREATER 0.8)
+ endif (Proton_VERSION VERSION_GREATER 0.7)
+ if (Proton_VERSION VERSION_GREATER 0.8)
set (NO_PROTON_DELIVERY_TAG_T 1)
- endif (Proton_VERSION GREATER 0.8)
+ endif (Proton_VERSION VERSION_GREATER 0.8)
else ()
message(STATUS "Qpid proton not found, amqp 1.0 support not enabled")
endif ()