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 848CB158176 for ; Thu, 16 Oct 2025 19:14:55 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6D2F93415E4 for ; Thu, 16 Oct 2025 19:14:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4E21E110561; Thu, 16 Oct 2025 19:14:50 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3FD0D1104B5 for ; Thu, 16 Oct 2025 19:14:50 +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 EB095341415 for ; Thu, 16 Oct 2025 19:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C48C3B12 for ; Thu, 16 Oct 2025 19:14:48 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1760642063.5579f4902a1d69f99115789f4c7bd89e07e58fc8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/cmake.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5579f4902a1d69f99115789f4c7bd89e07e58fc8 X-VCS-Branch: master Date: Thu, 16 Oct 2025 19:14:48 +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: 8608b927-1388-4ea4-91bb-b32a88245e86 X-Archives-Hash: 474dda4f30d1c2450402c90987b9d2bc commit: 5579f4902a1d69f99115789f4c7bd89e07e58fc8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Oct 13 15:44:49 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Oct 16 19:14:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5579f490 cmake.eclass: Set CMAKE_POLICY_DEFAULT_CMP0094=NEW to fix FindPython See also: https://cmake.org/cmake/help/latest/policy/CMP0094.html Closes: https://bugs.gentoo.org/959154 Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/cmake.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 7c825f87c367..e132b0b53deb 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -631,7 +631,8 @@ cmake_src_configure() { set(CMAKE_USER_MAKE_RULES_OVERRIDE "${build_rules}" CACHE FILEPATH "Gentoo override rules") set(CMAKE_INSTALL_DOCDIR "${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "") set(BUILD_SHARED_LIBS ON CACHE BOOL "") - set(Python3_FIND_UNVERSIONED_NAMES FIRST CACHE STRING "") + set(Python3_FIND_UNVERSIONED_NAMES FIRST CACHE STRING "") # FindPythonInterp, Gentoo-bug #835799 + set(CMAKE_POLICY_DEFAULT_CMP0094 NEW CACHE STRING "" ) # FindPython, Gentoo-bug #959154 set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "") set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF CACHE BOOL "") set(CMAKE_TLS_VERIFY ON CACHE BOOL "")