We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22d6c76 commit 79a443aCopy full SHA for 79a443a
CMakeLists.txt
@@ -15,6 +15,11 @@ endif()
15
project(SwiftTesting
16
LANGUAGES CXX Swift)
17
18
+if(NOT APPLE)
19
+ find_package(dispatch CONFIG)
20
+ find_package(Foundation CONFIG)
21
+endif()
22
+
23
include(GNUInstallDirs)
24
25
list(APPEND CMAKE_MODULE_PATH
Sources/Testing/CMakeLists.txt
@@ -96,6 +96,11 @@ add_library(Testing
96
Traits/Trait.swift)
97
target_link_libraries(Testing PRIVATE
98
_TestingInternals)
99
100
+ target_link_libraries(Testing PUBLIC
101
+ dispatch
102
+ Foundation)
103
104
if(NOT BUILD_SHARED_LIBS)
105
# When building a static library, tell clients to autolink the internal
106
# library.
0 commit comments