1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fixed 'OpenCVDetectCXXCompiler.cmake' to detect C++11 feature

This commit is contained in:
atinfinity
2017-07-17 00:20:14 +09:00
parent c455fc0334
commit ac64713881
+1 -1
View File
@@ -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()