Compile with c++ 0x support
This commit is contained in:
parent
b5b0012bbc
commit
5e8746862a
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ endif()
|
|||
# Stratagus needs to have char by default signed
|
||||
# No idea how to tell this to other compilers
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -std=gnu++0x")
|
||||
endif()
|
||||
if(CMAKE_COMPILER_IS_GNUC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
|
||||
|
|
Loading…
Add table
Reference in a new issue