diff options
author | Bertram <bertram@cegetel.net> | 2010-01-26 01:21:25 +0100 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2010-01-26 01:21:25 +0100 |
commit | 18e40cbae6999ded894f9303591bfe599d946232 (patch) | |
tree | bfcacd1987f31d9c4c5a56fdc215a9f20bd97d35 /CMakeLists.txt | |
parent | 4537ab846edaf7a70cac7edd3348266ccf655bf3 (diff) | |
download | mana-18e40cbae6999ded894f9303591bfe599d946232.tar.gz mana-18e40cbae6999ded894f9303591bfe599d946232.tar.bz2 mana-18e40cbae6999ded894f9303591bfe599d946232.tar.xz mana-18e40cbae6999ded894f9303591bfe599d946232.zip |
Add compilation warnings when using cmake.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |