From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 658761582EF for ; Tue, 11 Mar 2025 09:02:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 44CBD3430CA for ; Tue, 11 Mar 2025 09:02:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 474E211037F; Tue, 11 Mar 2025 09:02:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3DD0111037F for ; Tue, 11 Mar 2025 09:02:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF0423430CA for ; Tue, 11 Mar 2025 09:02:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57537288D for ; Tue, 11 Mar 2025 09:02:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741683737.966418f400c96b5e91899335028269e62f356cfc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cherrytree/cherrytree-1.2.0.ebuild X-VCS-Directories: app-text/cherrytree/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 966418f400c96b5e91899335028269e62f356cfc X-VCS-Branch: master Date: Tue, 11 Mar 2025 09:02:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 094bac8b-bad1-494e-9d27-5af9cf97ff39 X-Archives-Hash: f8ac395cfcd27c6ef9ff728d883694fa commit: 966418f400c96b5e91899335028269e62f356cfc Author: Joel Anderson goatshriek com> AuthorDate: Sat Mar 8 12:07:16 2025 +0000 Commit: Sam James gentoo 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 goatshriek.com> Closes: https://github.com/gentoo/gentoo/pull/40958 Signed-off-by: Sam James 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 }