I want to add libtorch to two existing projects. So I add:
in both cmake files, which gives me the following error:
add_library cannot create target “torch_library” because another target
with the same name already exists. The existing target is an interface
library created in source directory
How do I correctly add it to both projects?