From 9284aafca2015d4fbe07f19678f8854b93793bc6 Mon Sep 17 00:00:00 2001 From: Jean-Nicolas Brunet Date: Mon, 22 Feb 2021 17:41:09 +0100 Subject: [PATCH] [cmake] CMake config was exporting the wrong python version Signed-off-by: Jean-Nicolas Brunet --- SofaPython3Config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SofaPython3Config.cmake.in b/SofaPython3Config.cmake.in index 3a35dd92..aa0c2be9 100644 --- a/SofaPython3Config.cmake.in +++ b/SofaPython3Config.cmake.in @@ -11,7 +11,7 @@ include(SofaPython3Tools) # Find Python3 executable and set PYTHON_EXECUTABLE before finding pybind11 # to be sure that pybind11 relies on the right Python version -set(python_version @PYBIND11_PYTHON_VERSION@) +set(python_version @PYTHON_VERSION@) set(python_version_flag @python_version_flag@) find_package(Python ${python_version} ${python_version_flag} COMPONENTS Interpreter Development REQUIRED)