Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not list
LLVM_LIBS
in the target_link_libraries
.
When using various prepackaged versions of LLVM 6.0, I was seeing fatal errors like this when I ran `clang_delta`: ``` $ clang_delta --help : CommandLine Error: Option 'disable-symbolication' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options ``` In some way that I do not understand, removing `LLVM_LIBS` from the call to `target_link_libraries` seems to avoid this problem. The LLVM libraries end up in the link line anyway, also for reasons that I do not understand. Did I mention that I do not understand the current LLVM CMake magic?
- Loading branch information