mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-23 19:32:23 +00:00
gcc should not less than 7 (#12771)
This commit is contained in:
parent
3e57cd88fc
commit
27304d9082
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ if (NOT CMAKE_BUILD_TYPE)
|
|||
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose build type: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||
endif()
|
||||
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 8)
|
||||
message(FATAL_ERROR "GCC version must not less than 8")
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 7)
|
||||
message(FATAL_ERROR "GCC version must not less than 7")
|
||||
endif()
|
||||
|
||||
# Options
|
||||
|
|
|
|||
Loading…
Reference in a new issue