mirror of https://github.com/libAthena/athena.git
Merge commit 'b9069f8'
This commit is contained in:
commit
255f2bf745
|
@ -13,6 +13,10 @@ include(FindLLVM.cmake)
|
||||||
if(NOT LLVM_FOUND)
|
if(NOT LLVM_FOUND)
|
||||||
message(STATUS "Unable to locate LLVM installation; skipping atdna")
|
message(STATUS "Unable to locate LLVM installation; skipping atdna")
|
||||||
else()
|
else()
|
||||||
|
find_library(LLVMDEMANGLE_LIB LLVMDemangle)
|
||||||
|
if (NOT LLVMDEMANGLE_LIB)
|
||||||
|
set(LLVMDEMANGLE_LIB "")
|
||||||
|
endif()
|
||||||
list(APPEND LLVM_LIBS
|
list(APPEND LLVM_LIBS
|
||||||
clangFrontend
|
clangFrontend
|
||||||
clangTooling
|
clangTooling
|
||||||
|
@ -31,7 +35,7 @@ list(APPEND LLVM_LIBS
|
||||||
LLVMBitReader
|
LLVMBitReader
|
||||||
LLVMMC
|
LLVMMC
|
||||||
LLVMProfileData
|
LLVMProfileData
|
||||||
LLVMDemangle
|
${LLVMDEMANGLE_LIB}
|
||||||
LLVMSupport)
|
LLVMSupport)
|
||||||
|
|
||||||
string(FIND ${LLVM_VERSION_STRING} "svn" SVN_FILTER_IDX)
|
string(FIND ${LLVM_VERSION_STRING} "svn" SVN_FILTER_IDX)
|
||||||
|
|
Loading…
Reference in New Issue