diff --git a/cmake/define.inc b/cmake/define.inc index 0bbc36878d512e0c1b66999300567fc9cd854cf1..9e3d4a0dfa05d1bdbc783da68d470c3a57f57d7b 100755 --- a/cmake/define.inc +++ b/cmake/define.inc @@ -291,7 +291,7 @@ MESSAGE(STATUS "CMAKE_CXX_COMPILER_ID: " ${CMAKE_CXX_COMPILER_ID}) IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") EXECUTE_PROCESS( COMMAND ${CMAKE_CXX_COMPILER} --version OUTPUT_VARIABLE clang_full_version_string ) string (REGEX REPLACE ".*clang version ([0-9]+\\.[0-9]+).*" "\\1" CLANG_VERSION_STRING ${clang_full_version_string}) - IF (CLANG_VERSION_STRING GREATER_EQUAL 13.1) + IF (CLANG_VERSION_STRING GREATER_EQUAL 13.0) SET(COMMON_FLAGS "${COMMON_FLAGS} -Wno-unused-but-set-variable") ENDIF () ENDIF ()