aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2019-10-22 20:25:12 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2019-10-24 20:30:36 +0200
commit4ad89450ae45dacb5c7b0222c175f11584d694c3 (patch)
treeea4666c27197c65e0e996e4dab128b6b2411b17d /CMakeLists.txt
parent382e5e7735ed86b91e57a5a2427277142b1814ec (diff)
downloadpaludis-4ad89450ae45dacb5c7b0222c175f11584d694c3.tar.gz
paludis-4ad89450ae45dacb5c7b0222c175f11584d694c3.tar.xz
Use the versioned component and imported target for boost python
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")