Skip to content

Commit

Permalink
Merge pull request Papierkorb#63 from HertzDevil/patch-1
Browse files Browse the repository at this point in the history
Fix CI for old CMake versions

Thanks @HertzDevil !
  • Loading branch information
docelic authored Jun 17, 2020
2 parents 3a1543e + 45310da commit 400f62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ string(REGEX MATCH "^([0-9]+)" LLVM_VER ${LLVM_PACKAGE_VERSION})
message(STATUS "LLVM Major version: ${LLVM_VER}")

# If LLVM 10+ change std version
if(LLVM_VER GREATER_EQUAL 10)
if(LLVM_VER GREATER 9)
message(STATUS "Setting std version: c++14")
set(CMAKE_CXX_STANDARD_14)
else()
Expand Down

0 comments on commit 400f62e

Please sign in to comment.