-
Notifications
You must be signed in to change notification settings - Fork 108
[CMake] Explicitly link Testing to Foundation #693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,14 @@ add_library(Testing | |
Traits/Trait.swift) | ||
target_link_libraries(Testing PRIVATE | ||
_TestingInternals) | ||
if(NOT APPLE) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Curious why we need the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In Darwin, Foundation is a framework, so |
||
if(NOT CMAKE_SYSTEM_NAME STREQUAL WASI) | ||
target_link_libraries(Testing PUBLIC | ||
dispatch) | ||
endif() | ||
compnerd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
target_link_libraries(Testing PUBLIC | ||
Foundation) | ||
endif() | ||
if(NOT BUILD_SHARED_LIBS) | ||
# When building a static library, tell clients to autolink the internal | ||
# library. | ||
|
Uh oh!
There was an error while loading. Please reload this page.