app-text/xournalpp: fix unconditional enabling of gtest

Closes: https://bugs.gentoo.org/956765
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42361
Closes: https://github.com/gentoo/gentoo/pull/42361
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Kostadin Shishmanov
2025-05-30 23:19:19 +03:00
committed by Sam James
parent b19b988768
commit a44b0e2e85
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ PATCHES=(
src_configure() {
local mycmakeargs=(
-DLUA_VERSION="$(lua_get_version)"
-DENABLE_GTEST=ON
-DENABLE_GTEST=$(usex test)
)
cmake_src_configure

View File

@@ -53,7 +53,7 @@ PATCHES=(
src_configure() {
local mycmakeargs=(
-DLUA_VERSION="$(lua_get_version)"
-DENABLE_GTEST=ON
-DENABLE_GTEST=$(usex test)
)
cmake_src_configure