Skip to content

Commit

Permalink
Added check for /usr/lib64 for fix issue in Fedora 33
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewxcav authored and banach-space committed Jul 1, 2021
1 parent f7486d1 commit a139213
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ endif()

set(LT_LLVM_CMAKE_FILE "${LT_LLVM_INSTALL_DIR}/lib/cmake/llvm/LLVMConfig.cmake")
if(NOT EXISTS "${LT_LLVM_CMAKE_FILE}")
set(LT_LLVM_CMAKE_FILE "${LT_LLVM_INSTALL_DIR}/lib64/cmake/llvm/LLVMConfig.cmake")
endif()
if(NOT EXISTS "${LT_LLVM_CMAKE_FILE}")
message(FATAL_ERROR
" LT_LLVM_CMAKE_FILE (${LT_LLVM_CMAKE_FILE}) is invalid.")
endif()
Expand Down

0 comments on commit a139213

Please sign in to comment.