15 lines
766 B
Diff
15 lines
766 B
Diff
diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake
|
|
index ec06ba285f27..286162f098fb 100644
|
|
--- a/cmake/modules/LLDBConfig.cmake
|
|
+++ b/cmake/modules/LLDBConfig.cmake
|
|
@@ -290,7 +290,8 @@ if (NOT TARGET clang-resource-headers)
|
|
# could be and pick the first that exists.
|
|
foreach(CANDIDATE "${Clang_DIR}/../.." "${LLVM_DIR}" "${LLVM_LIBRARY_DIRS}"
|
|
"${LLVM_BUILD_LIBRARY_DIR}"
|
|
- "${LLVM_LIBRARY_DIR}")
|
|
+ "${LLVM_LIBRARY_DIR}"
|
|
+ "@clangLibDir@")
|
|
# Build the resource directory path by appending 'clang/<version number>'.
|
|
set(CANDIDATE_RESOURCE_DIR "${CANDIDATE}/clang/${LLDB_CLANG_RESOURCE_DIR_NAME}")
|
|
if (IS_DIRECTORY "${CANDIDATE_RESOURCE_DIR}")
|