File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
99 message (WARNING "Microsoft compiler not supported." )
1010elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
1111 if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)
12- message (FATAL_ERROR "GCC version must be at least 10.2 !" )
12+ message (FATAL_ERROR "GCC version must be at least 12 !" )
1313 endif ()
1414elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
15- if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16.0)
16- message (FATAL_ERROR "Clang version must be at least 11.0 !" )
15+ if (( NOT APPLE ) AND ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16.0) )
16+ message (FATAL_ERROR "Clang version must be at least 16 !" )
1717 endif ()
1818else ()
1919 message (WARNING "You are using an unidentified compiler! Compilation has only been tested with Clang and GCC." )
You can’t perform that action at this time.
0 commit comments