Skip to content

Commit

Permalink
feat: update c++ version from 11 to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jul 3, 2024
1 parent 3fea67e commit f41bacc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
cmake_minimum_required(VERSION 3.4.3)
project(DiscoPoP)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)

if (POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
Expand Down
2 changes: 1 addition & 1 deletion rtlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ set(DiscoPoP_SOURCES
)

set(CMAKE_CXX_FLAGS
"-O2 -std=c++11 -pthread -fno-rtti -fPIE -fPIC -ffreestanding")
"-O2 -std=c++17 -pthread -fno-rtti -fPIE -fPIC -ffreestanding")

# add_custom_target(DiscoPoP)

Expand Down

0 comments on commit f41bacc

Please sign in to comment.