Suppress clang pedantic warning in Lua

This commit is contained in:
Gregory A Lundberg 2017-06-19 22:18:14 -05:00
parent 4b39f14af4
commit d30b6f6438

View file

@ -286,7 +286,7 @@ if(UNIX AND NOT CMAKE_COMPILER_IS_GNUCXX)
set_property(SOURCE
SOURCE ${libwesnoth-lua_STAT_SRC}
APPEND_STRING PROPERTY COMPILE_FLAGS
" -x c++ -Wno-parentheses-equality"
" -x c++ -Wno-parentheses-equality -Wno-conditional-uninitialized"
)
endif(UNIX AND NOT CMAKE_COMPILER_IS_GNUCXX)