[opencv] 91/251: fixed 'OpenCVDetectCXXCompiler.cmake' to detect C++11 feature

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.

commit ac6471388192747c104c7e6d282fd429c5caf4c2
Author: atinfinity <dandelion1124 at gmail.com>
Date:   Mon Jul 17 00:20:14 2017 +0900

    fixed 'OpenCVDetectCXXCompiler.cmake' to detect C++11 feature
---
 cmake/OpenCVDetectCXXCompiler.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list