mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
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:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user