From c1c684e15a4321ec1c268a1ea6e2aecf99d7a500 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 29 Sep 2011 14:43:06 +0200 Subject: [PATCH] Add -Wall flag for CMake compilation --- CMakeLists.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 339fc54..2fd44f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ 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