Revert some CPP2011 related changes.

This commit is contained in:
Vincent Lejeune 2014-04-12 00:07:19 +02:00
parent 443b758e20
commit 849709ec1d

View File

@ -13,6 +13,9 @@ endif()
option(USE_WIIUSE "Support for wiimote input devices" ON)
option(USE_FRIBIDI "Support for right-to-left languages" ON)
if(UNIX)
option(USE_CPP2011 "Activate C++ 2011 mode (GCC only)" OFF)
endif()
if(MSVC)
# Normally hide the option to build wiiuse on VS, since it depends
# on the installation of the Windows DDK (Driver Developer Kit),
@ -113,7 +116,9 @@ if(USE_FRIBIDI)
endif()
if(UNIX)
add_definitions("-std=c++0x")
if(USE_CPP2011)
add_definitions("-std=c++0x")
endif()
endif()
# OpenGL