Skip to content

Commit 9aba19b

Browse files
committed
[CMake] Add build-system vendor hook for swiftCore
Adding a hook point for vendors to add flags, definitions, etc, to the swiftCore library build.
1 parent 02b4bac commit 9aba19b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtimes/Core/core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Swift.swiftmodule"
339339
emit_swift_interface(swiftCore)
340340
install_swift_interface(swiftCore)
341341

342+
include("${SwiftCore_VENDOR_MODULE_DIR}/swiftCore.cmake" OPTIONAL)
343+
342344
# TODO: Embedded SwiftCore builds
343345
# FIXME: Embedded builds should be separate CMake invocations because they are
344346
# building for a different environment. I'm not sure how CMake will

0 commit comments

Comments
 (0)