The following is code of /usr/share/llvm-3.5/cmake/LLVMConfig.cmake 46 set(LLVM_CMAKE_DIR "/usr/share/llvm-3.5/cmake") 47 set(LLVM_TOOLS_BINARY_DIR "/usr/lib/llvm-3.5/bin") 48 49 if(NOT TARGET LLVMSupport) 50 include("${LLVM_CMAKE_DIR}/LLVMExports.cmake") 51 endif() 52 53 include(${LLVM_CMAKE_DIR}/LLVM-Config.cmake)
I get an issue in llvm-pass-skeletion(https://github.com/sampsyo/llvm-pass-skeleton/issues/2). The include command in 50 and 53 will cause errors because LLVMExports.cmake and LLVM-Config.cmake are not in LLVM_CMAKE_DIR. They are in the same directory with LLVMConfig.cmake. - mudongliang
signature.asc
Description: OpenPGP digital signature