Commit f3497177 authored by Peter Wu's avatar Peter Wu

cmake: use -std=c++11 instead of -std=gnu+11

Matches autotools behavior. The m4_if logic was misread...
parent f8a9a214
......@@ -126,7 +126,7 @@ else()
endif()
include(ExtractValidFlags)
foreach(_cxx1x_flag -std=gnu++11 -std=gnu++0x)
foreach(_cxx1x_flag -std=c++11 -std=c++0x)
extract_valid_cxx_flags(_cxx1x_flag_supported ${_cxx1x_flag})
if(_cxx1x_flag_supported)
set(CXX1XCXXFLAGS ${_cxx1x_flag})
......
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