The documentation for add_dependencies
seems to suggest add_dependencies(my_amazing_target)
is valid syntax, yet CMake complains it’s missing arguments?
I opened CMake MR 10370 to fix the documentation, thanks.
1 Like
Oh! So it’s the docs that are wrong? I was hoping we could fix the implementation instead.
I’ve opened CMake Issue 26713 to propose allowing calls with no dependencies listed.
1 Like