Skip to content

Commit 47d54b9

Browse files
authored
Merge pull request #5321 from drodriguez/lldb-swift-include-paths
[cmake][lldb] Fix header search path in unified builds
2 parents 76d733c + dad352b commit 47d54b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/cmake/modules/LLDBConfig.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,10 @@ include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")
181181
if(NOT LLDB_BUILT_STANDALONE)
182182
if (LLVM_EXTERNAL_SWIFT_SOURCE_DIR)
183183
include_directories(${LLVM_EXTERNAL_SWIFT_SOURCE_DIR}/include)
184+
include_directories(${LLVM_EXTERNAL_SWIFT_SOURCE_DIR}/stdlib/public/SwiftShims)
184185
else ()
185186
include_directories(${CMAKE_SOURCE_DIR}/tools/swift/include)
187+
include_directories(${CMAKE_SOURCE_DIR}/tools/swift/stdlib/public/SwiftShims)
186188
endif ()
187189
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../swift/include")
188190
else ()

0 commit comments

Comments
 (0)