dev-cpp/drogon: Add doxygen to dependencies.

And remove Doxygen from CMake recipe if USE="-doc".

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2021-08-24 16:57:56 +02:00
parent 09cc9627fc
commit bf98b7423b

View File

@@ -29,8 +29,8 @@ RDEPEND="
DEPEND="
${RDEPEND}
test? ( dev-cpp/gtest )
"
BDEPEND="doc? ( app-doc/doxygen )"
DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md )
@@ -40,6 +40,7 @@ src_prepare() {
lib/tests/CMakeLists.txt || die
use brotli || sed -i '/find_package(Brotli)/d' CMakeLists.txt || die
use ssl || sed -i '/find_package(OpenSSL)/d' CMakeLists.txt || die
use doc || sed -i '/find_package(Doxygen/d' CMakeLists.txt || die
use examples && DOCS+=( "${S}/examples" )