When adding gr-digitizers to a build using add_subdirectory or fetch_content, the targets for the ui tools and dependencies can clash. This commit removes them from the build if this project is not the top-level cmake project.
Also default disables gr-digitizer tests in that case by default.
Longer term we should improve the cmake in all projects to allow overriding dependencies and correctly use cmake namespaces for the targets...
When adding gr-digitizers to a build using add_subdirectory or fetch_content, the targets for the ui tools and dependencies can clash. This commit removes them from the build if this project is not the top-level cmake project.
Also default disables gr-digitizer tests in that case by default.
Longer term we should improve the cmake in all projects to allow overriding dependencies and correctly use cmake namespaces for the targets...