Merge pull request #74 from compnerd/leaky-cauldron

build: install CSystem into the system
This commit is contained in:
Saleem Abdulrasool authored and GitHub committed 2021-12-02 11:22:32 -08:00
commit 836bc4557b
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -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)
+1 -1
View File
@@ -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)