diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 2ae7b25..7f6ae41 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -1,4 +1,7 @@ add_subdirectory(lzokay) +if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + target_compile_options(lzokay PRIVATE -Wno-maybe-uninitialized) +endif () add_subdirectory(zlib) add_subdirectory(yaml) if(NOT TARGET fmt)