Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Takafumi Kubota
CMake
Commits
23cd98a6
Commit
23cd98a6
authored
Oct 16, 2020
by
Marc Chevrier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FindPython: Add support of version 3.10
parent
b1d9a25f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/FindPython/Support.cmake
Modules/FindPython/Support.cmake
+1
-1
No files found.
Modules/FindPython/Support.cmake
View file @
23cd98a6
...
...
@@ -22,7 +22,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR)
message
(
FATAL_ERROR
"FindPython: INTERNAL ERROR"
)
endif
()
if
(
_
${
_PYTHON_PREFIX
}
_REQUIRED_VERSION_MAJOR EQUAL
"3"
)
set
(
_
${
_PYTHON_PREFIX
}
_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0
)
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment