aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2019-08-03 22:03:34 +0200
committerAvatar Marvin Schmidt <marv@exherbo.org> 2019-10-22 20:10:33 +0200
commitd19d1615c835e48b1c43f4fe300aed1267a54728 (patch)
treeabac98bcf8fc702a8b3208097d88ad820c09854f
parent91c51f988c45d9bfc58a74860c8081d92eac9e02 (diff)
downloadpaludis-d19d1615c835e48b1c43f4fe300aed1267a54728.tar.gz
paludis-d19d1615c835e48b1c43f4fe300aed1267a54728.tar.xz
build: Set Boost_PYTHON_VERSION to select correct library version
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f9998132..a97923bed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -320,6 +320,7 @@ if(ENABLE_PYTHON)
find_package(PythonLibs)
+ set(Boost_PYTHON_VERSION ${PYTHON_VERSION})
find_package(Boost REQUIRED
COMPONENTS
python)