aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-08 17:11:06 +0100
committerThomas White <taw@physics.org>2018-11-09 10:47:46 +0100
commit7f25bf48505dc81aae1a4df8079ad95a922504ad (patch)
tree06f58aad7f3018110bc0d489e2d5d66426ad5db7 /CMakeLists.txt
parent0632f90091e2dbee2c0e3837130e859e5b5ce708 (diff)
Set -Wall for files under src
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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)