mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-08 01:36:54 +08:00
Update -std=c++0x to -std=c++11
This commit is contained in:
parent
510d550d64
commit
95e3093df3
@ -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 )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user