From: Uwe Bonnes Date: Wed, 8 Sep 2010 09:01:51 +0000 (+0200) Subject: Add -Wall to compiler flags X-Git-Tag: v1.0rc1~150 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=5b1e6a0ae2affa25cb0782222de8380936fa7b28 Add -Wall to compiler flags --- 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)