FetchContent_Declare(
rapidjson-utility
QUIET
GIT_REPOSITORY https://github.com/Dup4/rapidjson-utility.git
GIT_TAG v{x.y.z} # Where `x.y.z` is the release version you want to use.
)
git_repository(
name = "rapidjson-utility",
remote = "https://github.com/Dup4/rapidjson-utility.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