Add compile options: -Wno-comment

This commit is contained in:
xia-chu 2024-09-21 18:14:18 +08:00 committed by 夏楚
parent f3e2a29cbd
commit 1753cbb81b

View File

@ -193,7 +193,7 @@ if(UNIX)
"-fPIC"
"-Wall;-Wextra"
"-Wno-unused-function;-Wno-unused-parameter;-Wno-unused-variable;-Wno-deprecated-declarations"
"-Wno-error=extra;-Wno-error=missing-field-initializers;-Wno-error=type-limits")
"-Wno-error=extra;-Wno-error=missing-field-initializers;-Wno-error=type-limits;-Wno-comment")
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(COMPILE_OPTIONS_DEFAULT ${COMPILE_OPTIONS_DEFAULT} "-g3")