Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Python 3.10 #15

Open
PrasadBabarendaGamage opened this issue Mar 5, 2022 · 0 comments
Open

Build with Python 3.10 #15

PrasadBabarendaGamage opened this issue Mar 5, 2022 · 0 comments

Comments

@PrasadBabarendaGamage
Copy link

To build OpenCMISS with Python 3.10, the following file needs to be updated to add Python 3.10 to the required Python version list:

https://github.com/OpenCMISS/cmake_modules/tree/develop/Modules/FindPython/Support.cmake

if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "3")
  set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "2")
  set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
else()
  message (FATAL_ERROR "FindPython: INTERNAL ERROR")
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant