diff --git a/ge/CMakeLists.txt b/ge/CMakeLists.txt index 888f565c..12af76ec 100755 --- a/ge/CMakeLists.txt +++ b/ge/CMakeLists.txt @@ -707,7 +707,7 @@ target_compile_options(ge_runner PRIVATE -O2 -fno-common $<$:-Werror=unused-variable> - $<$:-Werror=unused-const-variable> + $<$:-Werror=unused-const-variable -Werror=format> ) target_include_directories(ge_runner SYSTEM PRIVATE @@ -776,7 +776,7 @@ target_compile_options(ge_compiler PRIVATE -O2 -fno-common $<$:-Werror=unused-variable> - $<$:-Werror=unused-const-variable> + $<$:-Werror=unused-const-variable -Werror=format> ) target_include_directories(ge_compiler SYSTEM PRIVATE