doctestΒΆ

hunter_add_package(doctest)
find_package(doctest CONFIG REQUIRED)
target_link_libraries(... doctest::doctest)