qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1559198 - /qpid/trunk/qpid/cpp/src/CMakeLists.txt
Date Fri, 17 Jan 2014 17:28:14 GMT
Author: astitcher
Date: Fri Jan 17 17:28:14 2014
New Revision: 1559198

URL: http://svn.apache.org/r1559198
Log:
NO-JIRA: Really fix the test for the correct previous versions of cmake
(sorry, this is getting embarassing)

Modified:
    qpid/trunk/qpid/cpp/src/CMakeLists.txt

Modified: qpid/trunk/qpid/cpp/src/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/CMakeLists.txt?rev=1559198&r1=1559197&r2=1559198&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/CMakeLists.txt Fri Jan 17 17:28:14 2014
@@ -158,9 +158,9 @@ endif (VALGRIND_FOUND)
 # TODO Need to rework CMake files to use INTERFACE_LINK_LIBRARIES target property
 # When that is done we can remove the next 4 lines completely
 set (CMAKE_LINK_INTERFACE_LIBRARIES "")
-if (DEFINED CMAKE_VERSION AND CMAKE_VERSION VERSION_GREATER "2.8.11")
+if (DEFINED CMAKE_VERSION AND NOT CMAKE_VERSION VERSION_LESS "2.8.12")
   cmake_policy(SET CMP0022 OLD)
-endif (DEFINED CMAKE_VERSION AND CMAKE_VERSION VERSION_GREATER "2.8.11")
+endif (DEFINED CMAKE_VERSION AND NOT CMAKE_VERSION VERSION_LESS "2.8.12")
 
 if (CMAKE_COMPILER_IS_GNUCXX)
    # Warnings: Enable as many as possible, keep the code clean. Please



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message