From 8190734fe0fd5a589fb16b17abfcf3dea31a8a62 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 17 May 2020 11:40:45 -0700 Subject: Fix more formatting errors --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d5e5ab56..2d9632fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,8 @@ message(STATUS "Building HardInfo for architecture: ${HARDINFO_OS}-${HARDINFO_AR add_definitions("-std=gnu89") add_definitions("-Wno-deprecated-declarations") +add_definitions("-Werror=format") +add_definitions("-Werror=format-security") add_subdirectory(po) -- cgit v1.2.3