Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
a26ab3ab
Commit
a26ab3ab
authored
May 14, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3917 from yanlend:patch-1
parents
354ed5c4
443b3157
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OpenCVDetectPython.cmake
cmake/OpenCVDetectPython.cmake
+1
-1
No files found.
cmake/OpenCVDetectPython.cmake
View file @
a26ab3ab
...
@@ -37,7 +37,7 @@ function(find_python preferred_version min_version library_env include_dir_env
...
@@ -37,7 +37,7 @@ function(find_python preferred_version min_version library_env include_dir_env
# standard FindPythonInterp always prefers executable from system path
# standard FindPythonInterp always prefers executable from system path
# this is really important because we are using the interpreter for numpy search and for choosing the install location
# this is really important because we are using the interpreter for numpy search and for choosing the install location
foreach
(
_CURRENT_VERSION
${
Python_ADDITIONAL_VERSIONS
}
"
${
preferred_version
}
"
"
${
min_version
}
"
)
foreach
(
_CURRENT_VERSION
${
Python_ADDITIONAL_VERSIONS
}
"
${
preferred_version
}
"
"
${
min_version
}
"
)
find_host_program
(
executable
find_host_program
(
PYTHON_EXECUTABLE
NAMES python
${
_CURRENT_VERSION
}
python
NAMES python
${
_CURRENT_VERSION
}
python
PATHS
PATHS
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\
${
_CURRENT_VERSION
}
\\\\InstallPath]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\
${
_CURRENT_VERSION
}
\\\\InstallPath]
...
...
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