mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
fixed travis build for gcc
This commit is contained in:
parent
39380f3afb
commit
bbfb6b9cea
1 changed files with 4 additions and 2 deletions
|
|
@ -237,8 +237,10 @@ endif()
|
|||
|
||||
# Handle debugmode compiles (this will require further work for proper WIN32-setups)
|
||||
if(UNIX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue