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
c3bfe3f3
Commit
c3bfe3f3
authored
Jan 13, 2014
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jan 13, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2136 from SpecLad:python-ver
parents
85c713b5
9e3673ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
OpenCVDetectPython.cmake
cmake/OpenCVDetectPython.cmake
+2
-1
No files found.
cmake/OpenCVDetectPython.cmake
View file @
c3bfe3f3
...
...
@@ -24,7 +24,8 @@ if(PYTHONINTERP_FOUND)
if
(
NOT ANDROID AND NOT IOS
)
ocv_check_environment_variables
(
PYTHON_LIBRARY PYTHON_INCLUDE_DIR
)
find_host_package
(
PythonLibs
"
${
PYTHON_VERSION_STRING
}
"
EXACT
)
# not using PYTHON_VERSION_STRING here, because it might not conform to the CMake version format
find_host_package
(
PythonLibs
"
${
PYTHON_VERSION_MAJOR_MINOR
}
.
${
PYTHON_VERSION_PATCH
}
"
EXACT
)
endif
()
if
(
NOT ANDROID AND NOT IOS
)
...
...
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