Skip to content

Commit 8c1be36

Browse files
compnerdGreg Parker
authored andcommitted
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 dba641c commit 8c1be36

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
@@ -912,8 +912,9 @@ endif()
912912
# https://bugs.swift.org/browse/SR-5975
913913
add_subdirectory(stdlib)
914914

915+
add_subdirectory(include)
916+
915917
if(SWIFT_INCLUDE_TOOLS)
916-
add_subdirectory(include)
917918
add_subdirectory(lib)
918919

919920
# Always include this after including stdlib/!

0 commit comments

Comments
 (0)