From: atinfinity Date: Sun, 16 Jul 2017 15:20:14 +0000 (+0900) Subject: fixed 'OpenCVDetectCXXCompiler.cmake' to detect C++11 feature X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~809^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac6471388192747c104c7e6d282fd429c5caf4c2;p=platform%2Fupstream%2Fopencv.git fixed 'OpenCVDetectCXXCompiler.cmake' to detect C++11 feature --- diff --git a/cmake/OpenCVDetectCXXCompiler.cmake b/cmake/OpenCVDetectCXXCompiler.cmake index afe0459..67e2a0f 100644 --- a/cmake/OpenCVDetectCXXCompiler.cmake +++ b/cmake/OpenCVDetectCXXCompiler.cmake @@ -188,7 +188,7 @@ if(ENABLE_CXX11) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED TRUE) set(CMAKE_CXX_EXTENSIONS OFF) # use -std=c++11 instead of -std=gnu++11 - if(XCMAKE_CXX11_COMPILE_FEATURES) + if(CMAKE_CXX11_COMPILE_FEATURES) set(HAVE_CXX11 ON) endif() endif()