Skip to content

Commit

Permalink
gcc 7
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Sep 10, 2023
1 parent 6a7d5fa commit b0993c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ project(pegasus)
cmake_minimum_required(VERSION 3.11.0)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# require at least gcc 5.4.0
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.4.0)
message(FATAL_ERROR "GCC version must be at least 5.4.0!")
# require at least gcc 7.0.0
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
message(FATAL_ERROR "GCC version must be at least 7.0.0!")
endif ()
endif ()

Expand Down
6 changes: 3 additions & 3 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ project(pegasus_thirdparties)
cmake_minimum_required(VERSION 3.11.0)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# require at least gcc 5.4.0
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.4.0)
message(FATAL_ERROR "GCC version must be at least 5.4.0!")
# require at least gcc 7.0.0
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
message(FATAL_ERROR "GCC version must be at least 7.0.0!")
endif ()
endif ()

Expand Down

0 comments on commit b0993c6

Please sign in to comment.