CMP0046-OLD-missing-dependency.cmake 80 B

1234
  1. cmake_policy(SET CMP0046 OLD)
  2. add_custom_target(foo)
  3. add_dependencies(foo bar)