dev-cpp/jwt-cpp: Add dev-cpp/gtest to BDEPEND for USE=test.

Closes: https://bugs.gentoo.org/834744
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2022-03-08 09:17:02 +01:00
parent 669e887a23
commit ecc1ef0277
2 changed files with 8 additions and 2 deletions

View File

@@ -23,7 +23,10 @@ IUSE="doc +picojson test"
DEPEND="${RDEPEND}
dev-libs/openssl
picojson? ( dev-cpp/picojson )"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
BDEPEND="
doc? ( app-doc/doxygen[dot] )
test? ( dev-cpp/gtest )
"
RESTRICT="
!picojson? ( test )
!test? ( test )"

View File

@@ -24,7 +24,10 @@ DEPEND="${RDEPEND}
dev-cpp/nlohmann_json
dev-libs/openssl
picojson? ( dev-cpp/picojson )"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
BDEPEND="
doc? ( app-doc/doxygen[dot] )
test? ( dev-cpp/gtest )
"
RESTRICT="
!picojson? ( test )
!test? ( test )"