commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 05/06: cmake: fixed ICE 3.4 version check f


From: git
Subject: [Commit-gnuradio] [gnuradio] 05/06: cmake: fixed ICE 3.4 version check for GCC < 4.7.
Date: Wed, 29 Jan 2014 00:04:26 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 3c44ba0687b08278a05f75cc576047c298c73281
Author: Tom Rondeau <address@hidden>
Date:   Tue Jan 28 17:59:11 2014 -0500

    cmake: fixed ICE 3.4 version check for GCC < 4.7.
---
 cmake/Modules/FindICE.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/Modules/FindICE.cmake b/cmake/Modules/FindICE.cmake
index 087ee9b..1c84a90 100644
--- a/cmake/Modules/FindICE.cmake
+++ b/cmake/Modules/FindICE.cmake
@@ -116,12 +116,12 @@ if(ICE_ICE AND ICE_ICEUTIL)
       execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version
         OUTPUT_VARIABLE gcc_version)
       string(REGEX MATCH "[0-9].[0-9].[0-9]" gcc_version_num ${gcc_version})
-      if(NOT ${gcc_version_num} VERSION_LESS "4.7")
+      if(${gcc_version_num} VERSION_LESS "4.7")
         message(STATUS "-- Found GCC version: ${gcc_version_num}")
         message(STATUS "-- GCC incompatible with Ice 3.4, disabling 
ControlPort")
         set(ICE_FOUND FALSE)
         return() # exit now
-      endif(NOT ${gcc_version_num} VERSION_LESS "4.7")
+      endif(${gcc_version_num} VERSION_LESS "4.7")
     endif(CMAKE_COMPILER_IS_GNUCXX)
 
     set(ICE_LIBRARIES ${ICE_LIBRARY})



reply via email to

[Prev in Thread] Current Thread [Next in Thread]