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
167a2664
Commit
167a2664
authored
Jan 22, 2014
by
Vincent Rabaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix message sent to user during cross_compilation
parent
eabcfa56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
OpenCVDetectPython.cmake
cmake/OpenCVDetectPython.cmake
+2
-4
No files found.
cmake/OpenCVDetectPython.cmake
View file @
167a2664
...
@@ -84,11 +84,9 @@ if(PYTHON_EXECUTABLE)
...
@@ -84,11 +84,9 @@ if(PYTHON_EXECUTABLE)
if
(
CMAKE_CROSSCOMPILING
)
if
(
CMAKE_CROSSCOMPILING
)
message
(
STATUS
"Cannot probe for Python/Numpy support (because we are cross-compiling OpenCV)"
)
message
(
STATUS
"Cannot probe for Python/Numpy support (because we are cross-compiling OpenCV)"
)
message
(
STATUS
"If you want to enable Python/Numpy support, set the following variables:"
)
message
(
STATUS
"If you want to enable Python/Numpy support, set the following variables:"
)
message
(
STATUS
" PYTHON_EXECUTABLE"
)
message
(
STATUS
" PYTHON_INCLUDE_PATH"
)
message
(
STATUS
" PYTHON_INCLUDE_DIR"
)
message
(
STATUS
" PYTHON_LIBRARIES"
)
message
(
STATUS
" PYTHON_LIBRARY"
)
message
(
STATUS
" PYTHON_NUMPY_INCLUDE_DIR"
)
message
(
STATUS
" PYTHON_NUMPY_INCLUDE_DIR"
)
message
(
STATUS
" PYTHON_NUMPY_VERSION"
)
else
()
else
()
# Attempt to discover the NumPy include directory. If this succeeds, then build python API with NumPy
# Attempt to discover the NumPy include directory. If this succeeds, then build python API with NumPy
execute_process
(
COMMAND
${
PYTHON_EXECUTABLE
}
-c
"import os; os.environ['DISTUTILS_USE_SDK']='1'; import numpy.distutils; print numpy.distutils.misc_util.get_numpy_include_dirs()[0]"
execute_process
(
COMMAND
${
PYTHON_EXECUTABLE
}
-c
"import os; os.environ['DISTUTILS_USE_SDK']='1'; import numpy.distutils; print numpy.distutils.misc_util.get_numpy_include_dirs()[0]"
...
...
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