CMake/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-depend...

6 lines
103 B
CMake

cmake_policy(SET CMP0046 OLD)
add_custom_target(foo)
add_custom_target(bar)
add_dependencies(foo bar)