Skip to content

Remove extra dependency in HltTracking CMakeLists.txt

Rosen Matev requested to merge rmatev-fix-cmake into master
  • The following warning appears in lb-dev projects where Hlt/HltTracking is checked out. This commit removes it.
  • Thanks to @sstahl for reporting
lb-dev --nightly lhcb-head Moore/HEAD
cd MooreDev_HEAD
git lb-use Hlt
git lb-checkout Hlt/master Hlt/HltTracking
make configure
...
CMake Warning (dev) at Hlt/HltTracking/CMakeLists.txt:27 (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 "HltLineConf" of target "HltTrackingConfUserDB" does
  not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

Merge request reports