Skip to content

Commit f387219

Browse files
authored
Merge pull request #79668 from compnerd/generative-ai
Runtime: correct install rules for runtime component
2 parents d8a1649 + bab2e67 commit f387219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtimes/Core/runtime/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ if("${SwiftCore_OBJECT_FORMAT}" STREQUAL "elfx")
165165
# https://github.com/swiftlang/swift-driver/blob/f66e33575150cc778289b5f573218c7a0c70bab6/Sources/SwiftDriver/Jobs/GenericUnixToolchain%2BLinkerSupport.swift#L186
166166
install(FILES $<TARGET_OBJECTS:swiftrt>
167167
COMPONENT SwiftCore_runtime
168-
DESTINATION "${CMAKE_INSTALL_LIBDIR}/swift$<BOOL:${BUILD_SHARED_LIBS}>:_static>/${SwiftCore_PLATFORM_SUBDIR}/${SwiftCore_ARCH_SUBDIR}"
168+
DESTINATION "${CMAKE_INSTALL_LIBDIR}/swift$<$<BOOL:${BUILD_SHARED_LIBS}>:_static>/${SwiftCore_PLATFORM_SUBDIR}/${SwiftCore_ARCH_SUBDIR}"
169169
RENAME swiftrt.o)
170170
elseif("${SwiftCore_OBJECT_FORMAT}" STREQUAL "coffx")
171171
add_library(swiftrtT OBJECT SwiftRT-COFF.cpp)

0 commit comments

Comments
 (0)