From e0f1975ff11b9914beb4b6af5ce0da452298543c Mon Sep 17 00:00:00 2001 From: wangzehong Date: Fri, 10 Feb 2023 10:43:22 +0800 Subject: [PATCH] Remove monorepo requirement --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libcxxabi-12.0.1.src/CMakeLists.txt b/libcxxabi-12.0.1.src/CMakeLists.txt index 6de2b5a..a3019da 100644 --- a/libcxxabi-12.0.1.src/CMakeLists.txt +++ b/libcxxabi-12.0.1.src/CMakeLists.txt @@ -1,8 +1,5 @@ # See www/CMake.html for instructions on how to build libcxxabi with CMake. -if (NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../libcxx") - message(FATAL_ERROR "libc++abi now requires being built in a monorepo layout with libcxx available") -endif() #=============================================================================== # Setup Project @@ -42,8 +39,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXXABI_STANDALONE_B set(LIBCXXABI_STANDALONE_BUILD 1) set(LLVM_LIT_OUTPUT_DIR "${LIBCXXABI_BINARY_DIR}/bin") - # Find the LLVM sources and simulate LLVM CMake options. - include(HandleOutOfTreeLLVM) endif() if (LIBCXXABI_STANDALONE_BUILD) -- 2.33.1.windows.1