if fmt already has been added with add_subdirectory() call, any attempt to add again will cause errors.
If the parent project is already using fmt, and now tries to use simpleble with the
Usage with CMake (Vendorized) or Usage with CMake (Local) method, cmake configure will show errors since all the fmt targets have already been created.
Checking if the targets are already present will prevent this.
if fmt already has been added with add_subdirectory() call, any attempt to add again will cause errors.
If the parent project is already using fmt, and now tries to use simpleble with the Usage with CMake (Vendorized) or Usage with CMake (Local) method, cmake configure will show errors since all the fmt targets have already been created.
Checking if the targets are already present will prevent this.