FetchContent_Declare(
autowired
QUIET
GIT_REPOSITORY https://github.com/Dup4/autowired-cpp.git
GIT_TAG v{x.y.z} # Where `x.y.z` is the release version you want to use.
)
git_repository(
name = "autowired",
remote = "https://github.com/Dup4/autowired-cpp.git",
tag = "v{x.y.z}", # Where `x.y.z` is the release version you want to use.
)
See the usage in the unit test