Skip to content

Commit b957a56

Browse files
authored
Merge pull request #28129 from DougGregor/long-runtime-tests-objc
[Long runtime tests] Link the Objective-C runtime.
2 parents a853d76 + 996f2ab commit b957a56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittests/runtime/LongTests/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
1616
# ${FOUNDATION_LIBRARY}
1717
# swiftStdlibUnittest${SWIFT_PRIMARY_VARIANT_SUFFIX}
1818
# )
19+
20+
# Link the Objective-C runtime.
21+
list(APPEND PLATFORM_TARGET_LINK_LIBRARIES "objc")
1922
elseif(SWIFT_HOST_VARIANT STREQUAL "linux")
2023
list(APPEND PLATFORM_TARGET_LINK_LIBRARIES
2124
"atomic"

0 commit comments

Comments
 (0)