aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b35d0e59a..26e919153 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -329,10 +329,9 @@ if(ENABLE_PYTHON)
find_package(PythonLibs ${PYTHON_VERSION})
- set(Boost_PYTHON_VERSION ${PYTHON_VERSION})
- find_package(Boost REQUIRED
+ find_package(Boost 1.67.0 REQUIRED
COMPONENTS
- python)
+ python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
set(PALUDIS_PYTHON_INSTALL_DIR "${PALUDIS_PYEXECDIR}" CACHE PATH
"python installation dir")