cmake: ignore format-truncation

This commit is contained in:
vaxerski 2023-04-22 12:38:04 +01:00
parent 1911e4262b
commit 99079f7094

View file

@ -57,7 +57,7 @@ include_directories(
"subprojects/udis86/") "subprojects/udis86/")
set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD 23)
add_compile_definitions(WLR_USE_UNSTABLE) add_compile_definitions(WLR_USE_UNSTABLE)
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith) add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -Wno-format-truncation)
add_link_options(-rdynamic) add_link_options(-rdynamic)
set(CMAKE_ENABLE_EXPORTS TRUE) set(CMAKE_ENABLE_EXPORTS TRUE)