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

6 lines
103 B
CMake
Raw Permalink Normal View History

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