ClangConfig.cmake pointing to incorrect location?

Félix Cloutier felix at felixcloutier.com
Sun Jan 22 21:42:53 UTC 2017


Hello,

Following my last message, I'm also trying to link against Clang's static libraries using CMake. Right now, the clang-3.9-dev package installs the CMake files in /usr/share/llvm-3.9/cmake/ (which is separate from LLVM's). The /usr/share/llvm-3.9/cmake/ClangConfig.cmake file tries to include /usr/lib/cmake/clang/ClangTargets.cmake, which doesn't exist (that file is in the same /usr/share directory). Is that a packaging error?

Félix


More information about the Pkg-llvm-team mailing list