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@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-06-30 02:08:02 -04:00
parent 6960652425
commit dbc6f62f52
+3 -3
View File
@@ -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)
)