Update -std=c++0x to -std=c++11
This commit is contained in:
@@ -74,7 +74,7 @@ if(MSVC)
|
||||
add_definitions(/W4)
|
||||
add_definitions(/bigobj)
|
||||
else()
|
||||
add_definitions(-Wall -Wextra -Wshadow -pedantic -std=c++0x)
|
||||
add_definitions(-Wall -Wextra -Wshadow -pedantic -std=c++11)
|
||||
|
||||
if (APPLE)
|
||||
add_definitions(-Wno-sign-compare)
|
||||
@@ -87,9 +87,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
|
||||
if (USE_LIBCXX)
|
||||
add_definitions(-stdlib=libc++)
|
||||
set (EXTRA_LINKER_FLAGS -std=c++0x -stdlib=libc++)
|
||||
set (EXTRA_LINKER_FLAGS -std=c++11 -stdlib=libc++)
|
||||
else ()
|
||||
set (EXTRA_LINKER_FLAGS -std=c++0x )
|
||||
set (EXTRA_LINKER_FLAGS -std=c++11 )
|
||||
endif()
|
||||
else()
|
||||
set (EXTRA_LINKER_FLAGS )
|
||||
|
||||
Reference in New Issue
Block a user