Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 619d3c0

Browse files
authored
build: install _NumericsShims (#1145)
The `_NumericsShims` module is required for Numerics as we cannot use the Numerics module as implementation only as we provide extensions via `ElementaryFunctions`. This should allow users to actually build against the build of swift-apis.
1 parent 5d57293 commit 619d3c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,9 @@ if(ENABLE_SWIFT_NUMERICS)
295295
DESTINATION lib/swift/${swift_os}/${swift_arch})
296296
endif()
297297
endforeach()
298+
299+
install(FILES
300+
$<TARGET_PROPERTY:_NumericsShims,INTERFACE_INCLUDE_DIRECTORIES>/_NumericsShims.h
301+
$<TARGET_PROPERTY:_NumericsShims,INTERFACE_INCLUDE_DIRECTORIES>/module.modulemap
302+
DESTINATION lib/swift/_NumericsShims)
298303
endif()

0 commit comments

Comments
 (0)