Skip to content

Commit 8c01ee1

Browse files
committed
cmake: fix boost-python detection on Fedora 35
... and drop support for distros that went EOL long time ago
1 parent 7ea49ee commit 8c01ee1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ if (BUILD_PYCSDIFF)
9191
set(BOOST_PYTHON_LIB_NAME "boost_python"
9292
CACHE STRING "Name of the boost_python library")
9393

94-
# boost_python3 is used on Fedora 29.
95-
# boost_python38 is used on Fedora 31.
96-
# boost_python-3.x is used on Gentoo Linux.
94+
# boost_python3 is used on RHEL-8.
95+
# boost_python310 is used on Fedora 35.
9796
find_library(BOOST_PYTHON NAMES ${BOOST_PYTHON_LIB_NAME}
98-
boost_python3
99-
boost_python39 boost_python-3.9
100-
boost_python38 boost_python-3.8
101-
boost_python37 boost_python-3.7
102-
boost_python36 boost_python-3.6
103-
boost_python35 boost_python-3.5)
97+
boost_python311
98+
boost_python310
99+
boost_python39
100+
boost_python38
101+
boost_python37
102+
boost_python36
103+
boost_python3)
104104

105105
message(STATUS "BOOST_PYTHON: ${BOOST_PYTHON}")
106106

0 commit comments

Comments
 (0)