projects
/
profile
/
ivi
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed java tests build
[profile/ivi/opencv.git]
/
cmake
/
OpenCVDetectPython.cmake
diff --git
a/cmake/OpenCVDetectPython.cmake
b/cmake/OpenCVDetectPython.cmake
index
91e62e3
..
19f481b
100644
(file)
--- a/
cmake/OpenCVDetectPython.cmake
+++ b/
cmake/OpenCVDetectPython.cmake
@@
-228,7
+228,7
@@
find_python(3.4 "${MIN_VER_PYTHON3}" PYTHON3_LIBRARY PYTHON3_INCLUDE_DIR
PYTHON3_NUMPY_INCLUDE_DIRS PYTHON3_NUMPY_VERSION)
# Use Python 2 as default Python interpreter
-if(PYTHON2
LIBS
_FOUND)
+if(PYTHON2
INTERP
_FOUND)
set(PYTHON_DEFAULT_AVAILABLE "TRUE")
set(PYTHON_DEFAULT_EXECUTABLE "${PYTHON2_EXECUTABLE}")
endif()