File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ macro(swift_common_unified_build_config product)
226
226
set (PATH_TO_LLVM_BUILD "${CMAKE_BINARY_DIR} " )
227
227
set (${product} _PATH_TO_CLANG_BUILD "${CMAKE_BINARY_DIR} " )
228
228
set (PATH_TO_CLANG_BUILD "${CMAKE_BINARY_DIR} " )
229
- set (CLANG_MAIN_INCLUDE_DIR "${CMAKE_SOURCE_DIR} /tools/clang /include" )
229
+ set (CLANG_MAIN_INCLUDE_DIR "${LLVM_EXTERNAL_CLANG_SOURCE_DIR} /include" )
230
230
set (CLANG_BUILD_INCLUDE_DIR "${CMAKE_BINARY_DIR} /tools/clang/include" )
231
231
set (${product} _NATIVE_LLVM_TOOLS_PATH "${CMAKE_BINARY_DIR} /bin" )
232
232
set (${product} _NATIVE_CLANG_TOOLS_PATH "${CMAKE_BINARY_DIR} /bin" )
@@ -235,8 +235,8 @@ macro(swift_common_unified_build_config product)
235
235
236
236
# If cmark was checked out into tools/cmark, expect to build it as
237
237
# part of the unified build.
238
- if (EXISTS "${CMAKE_SOURCE_DIR} /tools/cmark/ " )
239
- set (${product} _PATH_TO_CMARK_SOURCE "${CMAKE_SOURCE_DIR} /tools/cmark " )
238
+ if (EXISTS "${LLVM_EXTERNAL_CMARK_SOURCE_DIR} " )
239
+ set (${product} _PATH_TO_CMARK_SOURCE "${LLVM_EXTERNAL_CMARK_SOURCE_DIR} " )
240
240
set (${product} _PATH_TO_CMARK_BUILD "${CMAKE_BINARY_DIR} /tools/cmark" )
241
241
set (${product} _CMARK_LIBRARY_DIR "${CMAKE_BINARY_DIR} /lib" )
242
242
You can’t perform that action at this time.
0 commit comments