From 5b1e6a0ae2affa25cb0782222de8380936fa7b28 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 8 Sep 2010 11:01:51 +0200 Subject: [PATCH] Add -Wall to compiler flags --- CMakeLists.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5ae9cd..796b0d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ endif("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_COLOR_MAKEFILE ON) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) +add_definitions(-Wall) + # Debug build message("-- Build type: ${CMAKE_BUILD_TYPE}") if(${CMAKE_BUILD_TYPE} STREQUAL Debug) -- 1.7.1