mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
build: install CSystem into the system
CSystem is a leaky library dependency from System and must be distributed. Install the files and make the dependency public so that it is emitted into the clients.
This commit is contained in:
1 parent
5703dc2b4d
commit
5d68cf0eca
2 files changed
+6
-1
No files matched your search
@@ -12,4 +12,9 @@ target_include_directories(CSystem INTERFACE
|
||||
include)
|
||||
|
||||
|
||||
install(FILES
|
||||
include/CSystemLinux.h
|
||||
include/CSystemWindows.h
|
||||
include/module.modulemap
|
||||
DESTINATION include/CSystem)
|
||||
set_property(GLOBAL APPEND PROPERTY SWIFT_SYSTEM_EXPORTS CSystem)
|
||||
@@ -34,7 +34,7 @@ target_sources(SystemPackage PRIVATE
|
||||
Internals/Mocking.swift
|
||||
Internals/Syscalls.swift
|
||||
Internals/WindowsSyscallAdapters.swift)
|
||||
target_link_libraries(SystemPackage PRIVATE
|
||||
target_link_libraries(SystemPackage PUBLIC
|
||||
CSystem)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user