Skip to content

Commit bab2e67

Browse files
committed
Runtime: correct install rules for runtime component
We missed a `$<` leader for the generator expression. Adjust the install rules to account for that.
1 parent ed9eef2 commit bab2e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtimes/Core/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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)