From 7b827296363d72d07186475888d18c004ac419e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Milk?= <rene.milk@wwu.de> Date: Wed, 7 Feb 2018 10:01:46 +0100 Subject: [PATCH] [cmake] force dune-python's python version too --- cmake/modules/DunePybindxiMacros.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/modules/DunePybindxiMacros.cmake b/cmake/modules/DunePybindxiMacros.cmake index e91608357..055b660d0 100644 --- a/cmake/modules/DunePybindxiMacros.cmake +++ b/cmake/modules/DunePybindxiMacros.cmake @@ -8,6 +8,9 @@ # The code below is a renamed copy of parts of ../../pybind11/CMakeLists.txt, # see ../../pybind11/LICENSE for license information. +# dune-python's way of forcing a version +dune_force_python_version(3) + # Add a CMake parameter for choosing a desired Python version set(DUNE_PYBINDXI_PYTHON_VERSION "" CACHE STRING "Python version to use for dune-pybindxi") -- GitLab