summaryrefslogtreecommitdiff
path: root/dev-libs/imath/files/imath-3.1.11-use-correct-boost_python_version.patch
blob: fedd1005f6b608905a286acc0ad5a80f46fb127a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: 2024-06-03
Subject: [PATCH] only try to find versioned boost::python

diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
index 1bc1e54..c71ce42 100644
--- a/src/python/CMakeLists.txt
+++ b/src/python/CMakeLists.txt
@@ -139,8 +139,6 @@ if(Boost_NO_BOOST_CMAKE)
 endif()
 
 find_package(Boost OPTIONAL_COMPONENTS
-  python
-  python${Python_VERSION_MAJOR}
   ${PYIMATH_BOOST_PY_COMPONENT})
 set(_pyimath_have_perver_boost)
 if(PYIMATH_BOOST_PY_COMPONENT)