aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)