diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-25 11:13:46 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-25 11:13:46 -0400 |
commit | 34fe6ddce11e4e0e31a96669ab5f200e5fb8a747 (patch) | |
tree | 0fa4c894cd7c1719c4edee013eb812fbaa22033e /lldb/cmake | |
parent | f7bbe099c996aa38ceee701eea9bd81cfe6066e3 (diff) | |
download | llvm-34fe6ddce11e4e0e31a96669ab5f200e5fb8a747.tar.gz |
Revert "[CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited"
This reverts commit ad8c34bc3089d847a09bb740f7a58c96073e0959.
Diffstat (limited to 'lldb/cmake')
-rw-r--r-- | lldb/cmake/modules/LLDBConfig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake index 2dd14d05a92a..987353517d0d 100644 --- a/lldb/cmake/modules/LLDBConfig.cmake +++ b/lldb/cmake/modules/LLDBConfig.cmake @@ -276,7 +276,7 @@ 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_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}") # 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}") |