From d6bcab3c7b4f890eae1f3733e5292190c845c563 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Wed, 5 Oct 2016 16:52:28 -0700 Subject: [PATCH] doc: Small change to documentation in DectectPython.cmake Fixed small typo for python 3 default version. Signed-off-by: Noel Eck --- cmake/OpenCVDetectPython.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVDetectPython.cmake b/cmake/OpenCVDetectPython.cmake index f6452eb1e5..6dec76ff66 100644 --- a/cmake/OpenCVDetectPython.cmake +++ b/cmake/OpenCVDetectPython.cmake @@ -244,7 +244,7 @@ if(PYTHON_DEFAULT_EXECUTABLE) elseif(PYTHON2INTERP_FOUND) # Use Python 2 as default Python interpreter set(PYTHON_DEFAULT_AVAILABLE "TRUE") set(PYTHON_DEFAULT_EXECUTABLE "${PYTHON2_EXECUTABLE}") -elseif(PYTHON3INTERP_FOUND) # Use Python 2 as fallback Python interpreter (if there is no Python 2) +elseif(PYTHON3INTERP_FOUND) # Use Python 3 as fallback Python interpreter (if there is no Python 2) set(PYTHON_DEFAULT_AVAILABLE "TRUE") set(PYTHON_DEFAULT_EXECUTABLE "${PYTHON3_EXECUTABLE}") endif()