We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12aee90 commit 432c138Copy full SHA for 432c138
test/CMakeLists.txt
@@ -83,8 +83,11 @@ function(get_test_dependencies SDK result_var_name)
83
set(deps_binaries)
84
85
if (SWIFT_BUILD_LIBEXEC AND SWIFT_ENABLE_BACKTRACING)
86
- list(APPEND deps_binaries
87
- "swift-backtrace-${SDK}")
+ # Only add if `swift-backtrace` builds for this SDK
+ if (TARGET "swift-backtrace-${SDK}")
88
+ list(APPEND deps_binaries
89
+ "swift-backtrace-${SDK}")
90
+ endif()
91
endif()
92
93
if (SWIFT_INCLUDE_TOOLS)
0 commit comments