summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-03-06 01:23:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-03-26 14:34:44 +0200
commita0e313b883d68d1f58c007a2b431a0d544dd6871 (patch)
treec80a7b39599631699db00a59f47e5cbb5a1669b6 /eclass
parentsys-apps/memtest86-bin: add 10.3, drop 10.2 (diff)
downloadgentoo-a0e313b883d68d1f58c007a2b431a0d544dd6871.tar.gz
gentoo-a0e313b883d68d1f58c007a2b431a0d544dd6871.tar.bz2
gentoo-a0e313b883d68d1f58c007a2b431a0d544dd6871.zip
cmake.eclass: Set Python3_FIND_UNVERSIONED_NAMES FIRST
See also: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8287 Bug: https://bugs.gentoo.org/835799 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 30de3c71faa4..24787f1c2a49 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -526,6 +526,7 @@ 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 "")
_EOF_
if [[ -n ${_ECM_ECLASS} ]]; then