Skip to content

Commit

Permalink
Build demo with C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo authored and jenkins committed Dec 12, 2023
1 parent 174d452 commit cf51c60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/demo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ cmake_minimum_required(VERSION 3.5)
# Keep symbols for JIT resolution
set(LLVM_NO_DEAD_STRIP 1)

# Cling needs at least C++11; so does this demo.
set(CMAKE_CXX_STANDARD 14)
# Cling needs at least C++17; so does this demo.
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if (CMAKE_PROJECT_NAME)
Expand Down

0 comments on commit cf51c60

Please sign in to comment.