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

Commit fd80318

Browse files
authored
build: create the directory hierarchy for Numerics (#1130)
Ensure that we create the Swift module directory for swift-numerics when configuring to ensure that a clean build with swift-numerics does not require the user to create it.
1 parent fb021b7 commit fd80318

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ if(ENABLE_SWIFT_NUMERICS)
8282
import_module(Numerics ${BINARY_DIR} swift-numerics-build)
8383
import_module(ComplexModule ${BINARY_DIR} swift-numerics-build)
8484
import_module(RealModule ${BINARY_DIR} swift-numerics-build)
85+
86+
file(MAKE_DIRECTORY ${BINARY_DIR}/swift)
8587
endif()
8688

8789
if(ENABLE_PYTHON_SUPPORT)

0 commit comments

Comments
 (0)