[cfe-dev] [LLVMdev] New CMake warnings

Peter Collingbourne peter at pcc.me.uk
Thu Oct 23 13:03:31 PDT 2014


On Thu, Oct 23, 2014 at 11:22:26AM -0700, Daniel Dilts wrote:
> Starting today I am getting the following when attempting to run CMake on a
> checkout with llvm/trunk, cfe/trunk, clang-tools-extra/trunk, and
> lld/trunk.  I am running:
>     cmake -G "Visual Studio 12" ../llvm
> 
> 
> 
> CMake Warning (dev) at cmake/modules/AddLLVM.cmake:688 (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 "llvm-go" of target "check-all" does not exist.
> Call Stack (most recent call first):
>   CMakeLists.txt:564 (add_lit_target)
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/AddLLVM.cmake:688 (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 "llvm-go" of target "check-llvm" does not exist.
> Call Stack (most recent call first):
>   cmake/modules/AddLLVM.cmake:713 (add_lit_target)
>   test/CMakeLists.txt:68 (add_lit_testsuite)
> This warning is for project developers.  Use -Wno-dev to suppress it.

Should be fixed as of r220503.

Thanks,
-- 
Peter



More information about the cfe-dev mailing list