File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
Overlays/_Testing_Foundation Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,6 @@ add_library(_Testing_Foundation
20
20
target_link_libraries (_Testing_Foundation PUBLIC
21
21
Testing)
22
22
23
- # Although this library links Foundation on all platforms, it only does so using
24
- # `target_link_libraries()` when building for non-Apple platforms. This is
25
- # because that command uses the `-lFoundation` linker flag, but on Apple
26
- # platforms Foundation is a .framework and requires a different flag. However,
27
- # we don't need to explicitly pass any linker flag since it's handled
28
- # automatically on Apple platforms via auto-linking.
29
- if (NOT APPLE )
30
- target_link_libraries (_Testing_Foundation PUBLIC
31
- Foundation)
32
- endif ()
33
-
34
23
# Note: This does not enable Library Evolution, despite emitting a module
35
24
# interface, because Foundation does not have Library Evolution enabled for all
36
25
# platforms.
Original file line number Diff line number Diff line change @@ -116,8 +116,6 @@ if(NOT APPLE)
116
116
target_link_libraries (Testing PUBLIC
117
117
dispatch)
118
118
endif ()
119
- target_link_libraries (Testing PUBLIC
120
- Foundation)
121
119
if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" )
122
120
target_link_libraries (Testing PUBLIC execinfo)
123
121
endif ()
You can’t perform that action at this time.
0 commit comments