Skip to content

Commit b3d0865

Browse files
tuliomjhuber6
andauthored
[runtimes] Add a missing LLVM_LIBDIR_SUFFIX (#159758)
Ensure that LLVM_LIBRARY_DIR uses LLVM_LIBDIR_SUFFIX. This fixes issues when the OS prefers to install libraries under lib64, for example. Co-authored-by: Joseph Huber <[email protected]>
1 parent 0d22f83 commit b3d0865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ endif()
7474
if (NOT LLVM_FOUND)
7575
set(LLVM_TOOLS_BINARY_DIR ${LLVM_BINARY_DIR}/bin)
7676
set(LLVM_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/include)
77-
set(LLVM_LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/lib)
77+
set(LLVM_LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
7878
endif()
7979

8080
# Setting these variables will allow the sub-build to put their outputs into

0 commit comments

Comments
 (0)