Skip to content

Commit 01e2468

Browse files
committed
[Backtracing][Tests] Fix the name of the swift-backtrace dependency.
Because it's a target executable, the name of the dependency is suffixed with the SDK. rdar://124913332
1 parent 7d2515b commit 01e2468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ function(get_test_dependencies SDK result_var_name)
8282

8383
set(deps_binaries)
8484

85-
if (SWIFT_ENABLE_BACKTRACING)
85+
if (SWIFT_BUILD_LIBEXEC AND SWIFT_ENABLE_BACKTRACING)
8686
list(APPEND deps_binaries
87-
swift-backtrace)
87+
"swift-backtrace-${SDK}")
8888
endif()
8989

9090
if (SWIFT_INCLUDE_TOOLS)

0 commit comments

Comments
 (0)