Skip to content

Commit 21a0499

Browse files
committed
Update CMakeLists for NotificationCenter.Message
1 parent a9cc46d commit 21a0499

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ else()
8686
message(STATUS "_SwiftCollections_SourceDIR not provided, checking out local copy of swift-collections")
8787
FetchContent_Declare(SwiftCollections
8888
GIT_REPOSITORY https://github.com/apple/swift-collections.git
89-
GIT_TAG 1.1.2)
89+
GIT_TAG 1.2.1)
9090
endif()
9191
FetchContent_MakeAvailable(SwiftFoundationICU SwiftCollections)
9292

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ let package = Package(
129129
"CMakeLists.txt",
130130
"ProcessInfo/CMakeLists.txt",
131131
"FileManager/CMakeLists.txt",
132-
"URL/CMakeLists.txt"
132+
"URL/CMakeLists.txt",
133+
"NotificationCenter/CMakeLists.txt"
133134
],
134135
cSettings: [
135136
.define("_GNU_SOURCE", .when(platforms: [.linux]))

Sources/FoundationEssentials/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ add_subdirectory(FileManager)
4242
add_subdirectory(Formatting)
4343
add_subdirectory(JSON)
4444
add_subdirectory(Locale)
45+
add_subdirectory(NotificationCenter)
4546
add_subdirectory(Predicate)
4647
add_subdirectory(ProcessInfo)
4748
add_subdirectory(PropertyList)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
##===----------------------------------------------------------------------===##
2+
##
3+
## This source file is part of the Swift open source project
4+
##
5+
## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+
## Licensed under Apache License v2.0
7+
##
8+
## See LICENSE.txt for license information
9+
## See CONTRIBUTORS.md for the list of Swift project authors
10+
##
11+
## SPDX-License-Identifier: Apache-2.0
12+
##
13+
##===----------------------------------------------------------------------===##
14+
15+
target_sources(FoundationEssentials PRIVATE
16+
ActorQueueManager.swift
17+
AsyncMessage.swift
18+
AsyncMessage+AsyncSequence.swift
19+
MainActorMessage.swift
20+
NotificationCenter.swift
21+
NotificationCenterMessage.swift)

0 commit comments

Comments
 (0)