diff options
author | Petr Hosek <phosek@google.com> | 2022-11-11 22:50:14 +0000 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2022-11-15 09:01:46 +0000 |
commit | 9c2700dfa51a3f10e47f902939bbbe0a5b6b9c9b (patch) | |
tree | 7ebf68377210261c1594d5e647ada751e527b061 /runtimes | |
parent | 1ebfe9b264bb0b7c48789748b737b8687de28639 (diff) | |
download | llvm-9c2700dfa51a3f10e47f902939bbbe0a5b6b9c9b.zip llvm-9c2700dfa51a3f10e47f902939bbbe0a5b6b9c9b.tar.gz llvm-9c2700dfa51a3f10e47f902939bbbe0a5b6b9c9b.tar.bz2 |
[CMake][compiler-rt] Don't load LLVM config in the runtimes build
LLVM runtimes build already loads the LLVM config and sets all
appropriate variables, no need to do it again.
Differential Revision: https://reviews.llvm.org/D137870
Diffstat (limited to 'runtimes')
-rw-r--r-- | runtimes/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index af1e3db..3f3ef4e 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -54,6 +54,7 @@ if (NOT LLVM_BINARY_DIR) endif() if (NOT LLVM_FOUND) set(LLVM_TOOLS_BINARY_DIR ${LLVM_BINARY_DIR}/bin) + set(LLVM_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/include) set(LLVM_LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/lib) endif() |