CMP0046-NEW-missing-dependency.cmake 80 B

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