Skip to content

Commit

Permalink
fixup!feat(CMakeLists): prepare for cpp20, disable cxx extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
berdal84 committed Nov 19, 2024
1 parent 8354ff8 commit 21e9532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ check_pie_supported()
# specify the C++ standard
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) # ensure we do not use fancy extensions that are not cross platform
set(CMAKE_CXX_EXTENSIONS ON)

# enable threads (we have some std::async in ndbl_app)
set(THREADS_PREFER_PTHREAD_FLAG ON)
Expand Down

0 comments on commit 21e9532

Please sign in to comment.