Mixing ExternalProject with “normal” targets is not well supported. I would suggest using FetchContent or using find_package and using a superbuild to drive the builds using ExternalProject for each.
1 Like