Skip to content

Commit 089425b

Browse files
authored
Merge pull request #2549 from compnerd/include-directories
build: include more directories
2 parents 7f68052 + b604369 commit 089425b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/modules/SwiftSharedCMakeConfig.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ macro(swift_common_standalone_build_config product is_cross_compiling)
252252
"${CLANG_MAIN_INCLUDE_DIR}"
253253
"${CMARK_MAIN_INCLUDE_DIR}"
254254
"${CMARK_BUILD_INCLUDE_DIR}")
255+
foreach (INCLUDE_DIR ${LLVM_INCLUDE_DIRS})
256+
include_directories(${INCLUDE_DIR})
257+
endforeach ()
255258

256259
link_directories(
257260
"${LLVM_LIBRARY_DIR}"

0 commit comments

Comments
 (0)