Configure default ABI library as NONE on Windows

llvm-svn: 291306
This commit is contained in:
Eric Fiselier 2017-01-06 23:59:52 +00:00
parent b81857a9e0
commit 937c74cdab
1 changed files with 6 additions and 1 deletions

View File

@ -115,9 +115,14 @@ if (LIBCXX_CXX_ABI STREQUAL "default")
set(LIBCXX_CXX_ABI_LIBNAME "libcxxabi")
set(LIBCXX_CXX_ABI_INCLUDE_PATHS "${LIBCXX_LIBCXXABI_INCLUDES_INTERNAL}")
set(LIBCXX_CXX_ABI_INTREE 1)
else()
if (WIN32 AND NOT MINGW)
# FIXME: Figure out how to configure the ABI library on Windows.
set(LIBCXX_CXX_ABI_LIBNAME "none")
else()
set(LIBCXX_CXX_ABI_LIBNAME "default")
endif()
endif()
else()
set(LIBCXX_CXX_ABI_LIBNAME "${LIBCXX_CXX_ABI}")
endif()