Revert "[CMake] Don't use libc++ by default on Windows yet"

This reverts commit b413e44200.
This commit is contained in:
Petr Hosek 2021-06-11 00:43:27 -07:00
parent f3f904563e
commit 0d5af7a4ca
2 changed files with 2 additions and 6 deletions

View File

@ -30,9 +30,7 @@ if(WIN32)
set(LLVM_USE_CRT_RELEASE "MT" CACHE STRING "")
endif()
if(NOT WIN32)
set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
endif()
set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
if(NOT APPLE)
# TODO: Remove this once we switch to ld64.lld.
set(CLANG_DEFAULT_LINKER lld CACHE STRING "")

View File

@ -21,9 +21,7 @@ if(WIN32)
set(LLVM_USE_CRT_RELEASE "MT" CACHE STRING "")
endif()
if(NOT WIN32)
set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
endif()
set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
if(NOT APPLE)
# TODO: Remove this once we switch to ld64.lld.
set(CLANG_DEFAULT_LINKER lld CACHE STRING "")