From: Uwe Bonnes Date: Thu, 29 Sep 2011 12:43:06 +0000 (+0200) Subject: Add -Wall flag for CMake compilation X-Git-Tag: v0.20~4 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=c1c684e15a4321ec1c268a1ea6e2aecf99d7a500;p=libftdi Add -Wall flag for CMake compilation --- 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)