Skip to content

Commit

Permalink
vw: We support gcc 5 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Jun 5, 2020
1 parent cc97104 commit d6e659b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ project (VisionWorkbench C CXX)

# Verify that we have a new enough compiler.
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.8.5")
message(FATAL_ERROR "GCC version >= 4.8.5 is required!")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0")
message(FATAL_ERROR "GCC version >= 5.0.0 is required!")
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.1.0")
Expand Down

0 comments on commit d6e659b

Please sign in to comment.