From 505839b3395e1673f4cbda0a3db1beea382e16d1 Mon Sep 17 00:00:00 2001 From: Michel Ferrero Date: Wed, 24 Jul 2013 14:34:41 +0200 Subject: [PATCH] Fix a misplaced NOT in FindCompilerCheck.cmake modified: cmake/FindCompilerCheck.cmake --- cmake/FindCompilerCheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindCompilerCheck.cmake b/cmake/FindCompilerCheck.cmake index b5f4d19d..54ad2470 100644 --- a/cmake/FindCompilerCheck.cmake +++ b/cmake/FindCompilerCheck.cmake @@ -22,7 +22,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") set(compiler_group 1) string(REGEX REPLACE ".*([2-5]\\.[0-9]\\.[0-9]).*" "\\1" compiler_version ${_compiler_output}) - if(compiler_version NOT VERSION_LESS "4.8.0" ) + if(NOT compiler_version VERSION_LESS "4.8.0" ) set(TRIQS_COMPILER_IS_C11_COMPLIANT ON) endif()