Skip to content

Commit

Permalink
Merge pull request Papierkorb#64 from HertzDevil/patch-1
Browse files Browse the repository at this point in the history
CI: Fix "use of undeclared identifier 'nullptr'"
  • Loading branch information
docelic authored Jun 17, 2020
2 parents 400f62e + 2e1ac41 commit b623ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ message(STATUS "LLVM Major version: ${LLVM_VER}")
# If LLVM 10+ change std version
if(LLVM_VER GREATER 9)
message(STATUS "Setting std version: c++14")
set(CMAKE_CXX_STANDARD_14)
set(CMAKE_CXX_STANDARD 14)
else()
set(CMAKE_CXX_STANDARD_11)
set(CMAKE_CXX_STANDARD 11)
endif()

# Add llvm version definition
Expand Down

0 comments on commit b623ce6

Please sign in to comment.