only ignore the specific warning being generated

instead of -Wno-error
develop
myk002 2022-02-05 16:05:10 -08:00 committed by Myk
parent 7cf055fcd0
commit 1dd567a169
1 changed files with 1 additions and 1 deletions

@ -34,7 +34,7 @@ set(EXPAT_BUILD_DOCS OFF CACHE BOOL "")
set(EXPAT_ENABLE_INSTALL OFF CACHE BOOL "")
add_subdirectory(libexpat/expat)
if(UNIX)
set_target_properties(expat PROPERTIES COMPILE_FLAGS "-Wno-error")
set_target_properties(expat PROPERTIES COMPILE_FLAGS "-Wno-maybe-uninitialized")
endif()
set(LIBZIP_BUILD_DOC OFF CACHE BOOL "")