public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/
Date: Tue, 11 Mar 2025 09:02:39 +0000 (UTC)	[thread overview]
Message-ID: <1741683737.966418f400c96b5e91899335028269e62f356cfc.sam@gentoo> (raw)

commit:     966418f400c96b5e91899335028269e62f356cfc
Author:     Joel Anderson <joel <AT> goatshriek <DOT> com>
AuthorDate: Sat Mar  8 12:07:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 09:02:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966418f4

app-text/cherrytree: remove unused cmake flag

Specify the AUTO_RUN_TESTING flag only when testing is enabled, to
avoid a CMake warning about unused variables.

Closes: https://bugs.gentoo.org/950341
Signed-off-by: Joel Anderson <joel <AT> goatshriek.com>
Closes: https://github.com/gentoo/gentoo/pull/40958
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/cherrytree/cherrytree-1.2.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-text/cherrytree/cherrytree-1.2.0.ebuild b/app-text/cherrytree/cherrytree-1.2.0.ebuild
index 9c67de85be38..d2e8464e00c5 100644
--- a/app-text/cherrytree/cherrytree-1.2.0.ebuild
+++ b/app-text/cherrytree/cherrytree-1.2.0.ebuild
@@ -68,10 +68,15 @@ src_configure() {
 		-DUSE_NLS=$(usex nls)
 		-DBUILD_TESTING=$(usex test)
 		-DUSE_SHARED_FMT_SPDLOG=ON
-		-DAUTO_RUN_TESTING=OFF
 		-DUSE_SHARED_GTEST_GMOCK=$(usex test)
 	)
 
+	if use test; then
+		mycmakeargs+=(
+			-DAUTO_RUN_TESTING=OFF
+		)
+	fi
+
 	cmake_src_configure
 }
 


             reply	other threads:[~2025-03-11  9:02 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11  9:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-24  5:58 [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/ Sam James
2025-03-24  5:58 Sam James
2025-03-19 23:57 Sam James
2025-03-15 13:48 Petr Vaněk
2025-02-27  5:33 Sam James
2024-11-14 21:21 Petr Vaněk
2024-11-14 21:21 Petr Vaněk
2024-11-14 21:21 Petr Vaněk
2024-09-18  3:25 Sam James
2024-09-18  3:25 Sam James
2024-07-07 21:11 Eli Schwartz
2024-07-07 21:11 Eli Schwartz
2024-06-29 14:11 Arthur Zamarin
2024-06-28  7:43 Joonas Niilola
2024-06-28  7:43 Joonas Niilola
2024-06-28  7:43 Joonas Niilola
2024-01-20 12:04 Sam James
2023-10-08 11:51 Pacho Ramos
2023-10-08 11:51 Pacho Ramos
2023-08-26 17:20 Arthur Zamarin
2023-07-26  3:13 Sam James
2023-03-11 21:23 Sam James
2023-03-11 21:23 Sam James
2023-03-11 17:04 Sam James
2022-12-21 23:09 Sam James
2022-12-21 23:09 Sam James
2022-12-21 23:09 Sam James
2022-12-19 14:49 Andreas Sturmlechner
2022-12-19 14:47 Andreas Sturmlechner
2022-11-09 16:27 Florian Schmaus
2022-07-18  0:26 Sam James
2022-05-03 18:38 Sam James
2022-04-17 16:10 Sam James
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-23 19:04 Michał Górny
2021-04-19 10:31 Joonas Niilola
2021-04-06 21:17 Sam James
2021-02-16  2:12 Matt Turner
2020-05-23 17:59 Andreas Sturmlechner
2020-04-09  8:58 Joonas Niilola
2019-11-20  6:03 Joonas Niilola
2018-04-09  0:15 Aaron Bauman
2016-09-17 15:19 Pacho Ramos
2016-07-07 22:50 Austin English
2016-07-01  7:25 Patrice Clement
2016-07-01  7:25 Patrice Clement
2016-07-01  7:25 Patrice Clement
2016-05-29 15:30 Kristian Fiskerstrand
2016-04-20  9:14 Ian Delaney
2016-04-19 17:09 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-15 19:10 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741683737.966418f400c96b5e91899335028269e62f356cfc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox