Skip to content

Commit

Permalink
Set CMAKE_CXX_STANDARD to 14.
Browse files Browse the repository at this point in the history
This is necessary for external build with llvm10/ToT
  • Loading branch information
Sidorenko, Anton authored and aus-intel committed Jun 17, 2020
1 parent 33faae8 commit cce6e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -16,8 +16,8 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
C CXX
)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED OFF)

find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_PATH}")
set(CMAKE_MODULE_PATH
Expand Down

0 comments on commit cce6e48

Please sign in to comment.