commit: dbc6f62f52ca91ff42f7af0815f990c432e822ec
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 05:19:47 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 06:08:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc6f62f
dev-cpp/doctest: move CMAKE_QA_COMPAT_SKIP=1 to global
Eclass moved where this check is done, and may as well set it
globally than move it to _prepare to avoid potential future
issues.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-cpp/doctest/doctest-2.4.12.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-cpp/doctest/doctest-2.4.12.ebuild
b/dev-cpp/doctest/doctest-2.4.12.ebuild
index 13f2f8b53f0f..46a69e7a5850 100644
--- a/dev-cpp/doctest/doctest-2.4.12.ebuild
+++ b/dev-cpp/doctest/doctest-2.4.12.ebuild
@@ -19,15 +19,15 @@ PATCHES=(
"${FILESDIR}/${PN}-2.4.11-backport-pr770.patch"
)
+# skip false positive detection in examples, bug #957418
+CMAKE_QA_COMPAT_SKIP=1
+
src_prepare() {
sed -i '/-Werror/d' scripts/cmake/common.cmake || die
cmake_src_prepare
}
src_configure() {
- # skip false positive detection in examples, bug #957418
- local CMAKE_QA_COMPAT_SKIP=1
-
local mycmakeargs=(
-DDOCTEST_WITH_TESTS=$(usex test)
)