mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Properly set '-std=c++0x' as a CXX_FLAGS
This fixes an issue with clang compiling C files. (Note: this does not mean clang is supported yet) Ideally, this should check the compiler for -std=c++11 support, then check -std=c++0x if the previous failed, then error if that fails as well.
This commit is contained in:
parent
cec990716f
commit
d87c95c1f8
@ -259,7 +259,7 @@ OPTION(EQEMU_BUILD_CLIENT_FILES "Build Client Import/Export Data Programs." ON)
|
||||
|
||||
#C++11 stuff
|
||||
IF(NOT MSVC)
|
||||
ADD_DEFINITIONS(-std=c++0x)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
ENDIF(NOT MSVC)
|
||||
|
||||
#Various definitions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user