mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-01 13:20:25 +00:00
Revert "[libunwind][CMake] Use libc++ headers when available"
This is causing build failure when building libc++abi with libunwind. This reverts commit 42bf29501dfa79f211841de060386d539933e811. llvm-svn: 294556
This commit is contained in:
parent
6a1ac5a380
commit
50b1a33211
@ -282,23 +282,4 @@ endif()
|
||||
|
||||
include_directories(include)
|
||||
|
||||
find_path(
|
||||
LIBUNWIND_LIBCXX_INCLUDES_INTERNAL
|
||||
__libcpp_version
|
||||
PATHS ${LLVM_MAIN_SRC_DIR}/projects/libcxx/include
|
||||
${LLVM_MAIN_SRC_DIR}/runtimes/libcxx/include
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
if ((NOT LIBUNWIND_STANDALONE_BUILD OR HAVE_LIBCXX) AND
|
||||
IS_DIRECTORY "${LIBUNWIND_LIBCXX_INCLUDES_INTERNAL}")
|
||||
set(LIBUNWIND_CXX_INCLUDE_PATHS_DEFAULT "${LIBUNWIND_LIBCXX_INCLUDES_INTERNAL}")
|
||||
endif()
|
||||
|
||||
set(LIBUNWIND_CXX_INCLUDE_PATHS "${LIBUNWIND_CXX_INCLUDE_PATHS_DEFAULT}" CACHE PATH
|
||||
"Paths to C++ header directories separated by ';'.")
|
||||
|
||||
if (NOT LIBUNWIND_CXX_INCLUDE_PATHS STREQUAL "")
|
||||
include_directories("${LIBUNWIND_CXX_INCLUDE_PATHS}")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
Loading…
Reference in New Issue
Block a user