[lldb-dev] Incorrect libclang dependency in standalone build

Pavel Labath via lldb-dev lldb-dev at lists.llvm.org
Fri Jun 10 16:25:31 PDT 2016


This is a side-effect of the cmake version bump to 3.4. Cmake now
errors out on non-existing targets. You'll need to figure out a way to
avoid adding this target to the dependency list. Patches welcome. :)

pl

On 10 June 2016 at 16:20, Eugene Zelenko via lldb-dev
<lldb-dev at lists.llvm.org> wrote:
> Hi!
>
> I got next message for each internal library when building standalone
> LLDB on RHEL 6:
>
> CMake Warning (dev) at cmake/modules/AddLLDB.cmake:90 (add_dependencies):
>   Policy CMP0046 is not set: Error on non-existent dependency in
>   add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>
>   The dependency target "libclang" of target "lldbTarget" does not exist.
>
> It was introduced recently. r272406 is last version I tried to build.
>
> Eugene.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


More information about the lldb-dev mailing list