Skip to content

Commit 132ef17

Browse files
committed
Check for the existence of the unwind target
1 parent 83b3d10 commit 132ef17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (LIBCXX_CXX_ABI STREQUAL "libcxxabi")
2727
add_dependencies(cxx-test-depends install-cxxabi-test-suite-prefix)
2828
endif()
2929

30-
if (LIBCXXABI_USE_LLVM_UNWINDER)
30+
if (LIBCXXABI_USE_LLVM_UNWINDER and TARGET unwind)
3131
add_custom_target(install-unwind-test-suite-prefix
3232
DEPENDS unwind-headers
3333
unwind

0 commit comments

Comments
 (0)