From 95e53cda009f498a88f64ef71803a168cb08856c Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 27 Oct 2018 12:58:17 -0500 Subject: enable and fix some warnings Part of (#298). Signed-off-by: Burt P --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b2f82fa0..d7dbd98d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -219,6 +219,16 @@ add_library(uber-graph STATIC ) endif() +set_source_files_properties( + hardinfo/usb_util.c + hardinfo/pci_util.c + hardinfo/gpu_util.c + hardinfo/cpu_util.c + hardinfo/x_util.c + PROPERTIES + COMPILE_FLAGS "-Wall -Wextra -Wno-parentheses -Wno-unused-function" +) + if (HARDINFO_GTK3) add_executable(hardinfo hardinfo/usb_util.c -- cgit v1.2.3