From 72d3c22e69c7a0d235574b7c524f3aa9514e68b0 Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Tue, 28 Jan 2025 17:05:42 +0000 Subject: [PATCH] [Build] Update SWIFT_TARGET_LIBRARY_NAME for swiftRuntime in new build. We need to change `SWIFT_TARGET_LIBRARY_NAME` for the `swiftRuntime` target in the new build because of changes made to the old build system. --- Runtimes/Core/runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtimes/Core/runtime/CMakeLists.txt b/Runtimes/Core/runtime/CMakeLists.txt index b16b780e259f5..82a9909e8cdd0 100644 --- a/Runtimes/Core/runtime/CMakeLists.txt +++ b/Runtimes/Core/runtime/CMakeLists.txt @@ -86,7 +86,7 @@ endif() target_compile_definitions(swiftRuntime PRIVATE -DSWIFT_RUNTIME - -DSWIFT_TARGET_LIBRARY_NAME=swiftRuntime + -DSWIFT_TARGET_LIBRARY_NAME=swiftRuntimeCore $<$:-DswiftCore_EXPORTS> $<$:-DSWIFT_ENABLE_BACKTRACING> $<$:-DSWIFT_STDLIB_OVERRIDABLE_RETAIN_RELEASE>