Add HINTS for finding LLVMDemangle library

This commit is contained in:
Jack Andersen 2016-12-11 10:55:55 -10:00
parent 255f2bf745
commit b2152f7890
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ include(FindLLVM.cmake)
if(NOT LLVM_FOUND)
message(STATUS "Unable to locate LLVM installation; skipping atdna")
else()
find_library(LLVMDEMANGLE_LIB LLVMDemangle)
find_library(LLVMDEMANGLE_LIB LLVMDemangle HINTS "${LLVM_ROOT_DIR}/lib")
if (NOT LLVMDEMANGLE_LIB)
set(LLVMDEMANGLE_LIB "")
endif()