diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-03-01 10:48:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 10:48:32 -0600 |
commit | 18d0d9b9b2e99ba1d22b9c7c3352f5f9df978d2c (patch) | |
tree | 6e6aebee540e94cf08baa9dea4103ab65f29da23 /libc/CMakeLists.txt | |
parent | 8f65e7b917c580d1b58b024db6fc889cbcd964c7 (diff) | |
download | llvm-18d0d9b9b2e99ba1d22b9c7c3352f5f9df978d2c.zip llvm-18d0d9b9b2e99ba1d22b9c7c3352f5f9df978d2c.tar.gz llvm-18d0d9b9b2e99ba1d22b9c7c3352f5f9df978d2c.tar.bz2 |
[libc] Update install directory for offloading versions of libraries (#83592)
Summary:
These currently go to `lib/`, but if the user has `lib/<triple>` they
should go there because it's always searched first.
Diffstat (limited to 'libc/CMakeLists.txt')
-rw-r--r-- | libc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt index 75fcc91..7c7322e 100644 --- a/libc/CMakeLists.txt +++ b/libc/CMakeLists.txt @@ -232,7 +232,7 @@ else() set(LIBC_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}) endif() if(LIBC_TARGET_OS_IS_GPU) - set(LIBC_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}/${LLVM_DEFAULT_TARGET_TRIPLE}) + set(LIBC_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}/${LIBC_TARGET_TRIPLE}) else() set(LIBC_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}) endif() |