Skip to content

Commit 347edc5

Browse files
committed
build: always process include
The `include` subdirectory now generates a header which is used for the runtime as well, making this directory a need irrespective of whether the tools are being built or not. This repairs the build of just the runtime without the tools.
1 parent e34d673 commit 347edc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,9 @@ endif()
10161016
# https://bugs.swift.org/browse/SR-5975
10171017
add_subdirectory(stdlib)
10181018

1019+
add_subdirectory(include)
1020+
10191021
if(SWIFT_INCLUDE_TOOLS)
1020-
add_subdirectory(include)
10211022
add_subdirectory(lib)
10221023

10231024
# Always include this after including stdlib/!

0 commit comments

Comments
 (0)