From 7f25bf48505dc81aae1a4df8079ad95a922504ad Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 8 Nov 2018 17:11:06 +0100 Subject: Set -Wall for files under src --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 75e8b2c1..a3f15912 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ pkg_check_modules (GLIB glib-2.0) include_directories (${GLIB_INCLUDE_DIRS}) link_directories (${GLIB_LIBRARY_DIRS}) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") + pkg_search_module(GTK gtk+-3.0) if (NOT GTK_FOUND) -- cgit v1.2.3