On a CMake project, I am using FetchContent to get two dependencies. Both of them define the same target (in this case doc), resulting in an error at configuration
doc