Commit 66ab4e15 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9172 from atinfinity:fixed_cxx11_flag

parents c455fc03 ac647138
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment