Skip to content

Commit

Permalink
easing clang req
Browse files Browse the repository at this point in the history
  • Loading branch information
will-rowe committed Aug 11, 2020
1 parent 15ec1cb commit 5d79867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- os: osx
name: "osx"
osx_image: xcode11.3
osx_image: xcode9.4
env: ["CXX=clang++", "XCODE_VERSION=11.3.1"]

install:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
message(FATAL_ERROR "GCC version must be at least 7.0!")
endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0")
message(FATAL_ERROR "Clang version must be at least 10.0!")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0")
message(FATAL_ERROR "Clang version must be at least 9.0!")
endif()
else()
message(WARNING "You are using an unsupported compiler! Compilation has only been tested with Clang and GCC.")
Expand Down

0 comments on commit 5d79867

Please sign in to comment.