Build: quiet GCC warning for extern/fmtlib

This commit is contained in:
Campbell Barton
2023-10-05 10:50:30 +11:00
parent 61f982f0d1
commit 2f71d9f807
2 changed files with 18 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
if(CMAKE_COMPILER_IS_GNUCC)
# NOTE: Resolved up-stream, quiet noisy compiler warnings for now.
add_cxx_flag("-Wno-uninitialized")
# Needed as build-type options may be added after the CXX flag added above.
remove_cxx_flag("-Wuninitialized")
endif()
set(INC