Skip to content

Commit 988336e

Browse files
authored
[cmake] CMake config was exporting the wrong python version (#116)
Signed-off-by: Jean-Nicolas Brunet <[email protected]>
1 parent 36df4d9 commit 988336e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SofaPython3Config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include(SofaPython3Tools)
1111

1212
# Find Python3 executable and set PYTHON_EXECUTABLE before finding pybind11
1313
# to be sure that pybind11 relies on the right Python version
14-
set(python_version @PYBIND11_PYTHON_VERSION@)
14+
set(python_version @PYTHON_VERSION@)
1515
set(python_version_flag @python_version_flag@)
1616

1717
find_package(Python ${python_version} ${python_version_flag} COMPONENTS Interpreter Development REQUIRED)

0 commit comments

Comments
 (0)