mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Forced clang compiler to use c++11 - fixes clang build
This commit is contained in:
parent
6fa9ca020f
commit
15770c67c9
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ endif()
|
|||
|
||||
# Set warning levels for different builds
|
||||
if(UNIX)
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} --no-warnings")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} --no-warnings ")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} --no-warnings")
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wfatal-errors -Wextra")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wfatal-errors -Wextra")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue