Skip to content

Commit f390de5

Browse files
authored
PackageCollectionsModel: correct dependency (NFC) (#3224)
PackageCollectionsModel has grown a dependency on Foundation, explicitly list it in the build.
1 parent 0e0964a commit f390de5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/PackageCollectionsModel/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
add_library(PackageCollectionsModel
1010
PackageCollectionModel.swift
1111
PackageCollectionModel+v1.swift)
12+
target_link_libraries(PackageCollectionsModel PUBLIC
13+
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)
1214

1315
set_target_properties(PackageCollectionsModel PROPERTIES
1416
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})

0 commit comments

Comments
 (0)