Skip to content

Commit

Permalink
Merge pull request #74 from compnerd/leaky-cauldron
Browse files Browse the repository at this point in the history
build: install CSystem into the system
  • Loading branch information
compnerd authored Dec 2, 2021
2 parents 5703dc2 + 5d68cf0 commit 836bc45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Sources/CSystem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion Sources/System/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 836bc45

Please sign in to comment.