Teach the LLVM CMake build how to explicitly use libc++abi when using
[oota-llvm.git] / CMakeLists.txt
index 5dda69629e147a7ab75b52e6cbf830f102389ef5..fe177259f0aee3bd64b55aaf86723f2a7ceca3a4 100644 (file)
@@ -252,6 +252,7 @@ endif()
 option(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
 option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." OFF)
 option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
+option(LLVM_ENABLE_LIBCXXABI "Use libc++abi when using libc++." OFF)
 option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
 option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)