From 18e40cbae6999ded894f9303591bfe599d946232 Mon Sep 17 00:00:00 2001 From: Bertram Date: Tue, 26 Jan 2010 01:21:25 +0100 Subject: Add compilation warnings when using cmake. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 48e63788..2a7fc894 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules) FIND_PACKAGE(Gettext) +# Help getting compilation warnings +set(CMAKE_CXX_FLAGS "-g -Wall") + OPTION(WITH_OPENGL "Enable OpenGL support" ON) OPTION(ENABLE_NLS "Enable building of tranlations" ON) -- cgit v1.2.3-70-g09d2