Skip to content

Commit

Permalink
Use libc++ under clang
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Nov 16, 2023
1 parent eebaf6c commit 2632ee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# clang
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdeprecated")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
endif()

if(MSVC)
Expand Down

0 comments on commit 2632ee3

Please sign in to comment.