Skip to content

Commit

Permalink
Use libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Oct 20, 2024
1 parent 7714bbe commit 13ca1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ message(STATUS "CMAKE_VERSION: ${CMAKE_VERSION}")

set(CMAKE_C_COMPILER "clang-15")
set(CMAKE_CXX_COMPILER "clang++-15")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -v")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")

# CMAKE_CXX_COMPILER_ID: Distinguish between "AppleClang" and "Clang"
if(POLICY CMP0025)
Expand Down

0 comments on commit 13ca1c2

Please sign in to comment.