Skip to content

Commit

Permalink
CI: Fix "use of undeclared identifier 'nullptr'"
Browse files Browse the repository at this point in the history
`CMAKE_CXX_STANDARD_xx` -> `CMAKE_CXX_STANDARD xx`
  • Loading branch information
HertzDevil authored Jun 17, 2020
1 parent 45310da commit 2e1ac41
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 2e1ac41

Please sign in to comment.