Skip to content

Commit f0d8bdc

Browse files
committed
check compiler version fatal -> warning
1 parent 78a2cce commit f0d8bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

buildscripts/cmake/CheckCompilerVersion.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
function(check_compile_version name min_version hint_message)
44
if (CMAKE_CXX_COMPILER_ID STREQUAL ${name})
55
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${min_version})
6-
message(FATAL_ERROR
6+
message(WARNING
77
"${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} is too old; "
88
"requires ${min_version} or newer. ${hint_message}")
99
endif()

0 commit comments

Comments
 (0)