lzokay: Disable -Wmaybe-uninitialized for GCC

This commit is contained in:
Luke Street 2021-03-01 18:18:22 -05:00
parent 1805568808
commit 165a8803dc
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
add_subdirectory(lzokay) add_subdirectory(lzokay)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(lzokay PRIVATE -Wno-maybe-uninitialized)
endif ()
add_subdirectory(zlib) add_subdirectory(zlib)
add_subdirectory(yaml) add_subdirectory(yaml)
if(NOT TARGET fmt) if(NOT TARGET fmt)