mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 06:14:14 +01:00
Fix a misplaced NOT in FindCompilerCheck.cmake
modified: cmake/FindCompilerCheck.cmake
This commit is contained in:
parent
cd411bba1e
commit
505839b339
@ -22,7 +22,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
|
|||||||
set(compiler_group 1)
|
set(compiler_group 1)
|
||||||
string(REGEX REPLACE ".*([2-5]\\.[0-9]\\.[0-9]).*" "\\1" compiler_version ${_compiler_output})
|
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)
|
set(TRIQS_COMPILER_IS_C11_COMPLIANT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user