use libc++

This commit is contained in:
Andrew Cassidy 2021-02-13 03:29:08 -08:00
parent 444f7883a4
commit 458c6eb445

View File

@ -53,6 +53,8 @@ set(CLANG_WARNINGS
)
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -v -stdlib=libc++")
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
target_compile_options(test_rgbcx PUBLIC ${PROJECT_WARNINGS})
endif()