Skip to content

Commit

Permalink
Use libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
lgeretti committed Oct 31, 2023
1 parent 5c4c7ac commit 0e538fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ set(CMAKE_MACOSX_RPATH 1)
set(BUILD_SHARED_LIBS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")

if(NOT WIN32)
set(ANY_TARGET_WARN all extra pedantic sign-conversion cast-qual disabled-optimization
init-self missing-include-dirs sign-promo switch-default undef redundant-decls
Expand Down

0 comments on commit 0e538fa

Please sign in to comment.