Add -Wno-conditional-uninitialized when compiling lua with clang
This commit is contained in:
parent
ac8d026c6f
commit
9604f51963
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ if(UNIX AND NOT CMAKE_COMPILER_IS_GNUCXX)
|
|||
set_source_files_properties(
|
||||
${libwesnoth-lua_STAT_SRC}
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-x c++ -Wno-parentheses-equality"
|
||||
"-x c++ -Wno-parentheses-equality -Wno-conditional-uninitialized"
|
||||
)
|
||||
endif(UNIX AND NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue