summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-11 20:24:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-12 01:46:27 +0300
commit64e746127640a22e36d8ec98f33a64032a1dd1dc (patch)
treeff5f9f69cc4fc80b1461e7ad9a60d15c7c6e721c /src/CMakeLists.txt
parentdc53f8b7f360a489bd10355131339809d66378ef (diff)
downloadmanaverse-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.gz
manaverse-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.bz2
manaverse-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.xz
manaverse-64e746127640a22e36d8ec98f33a64032a1dd1dc.zip
Fix cmake build file.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2c60196e0..222728ca8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -10,17 +10,6 @@ FIND_PACKAGE(PhysFS REQUIRED)
FIND_PACKAGE(PNG REQUIRED)
FIND_PACKAGE(Gettext REQUIRED)
-IF (CMAKE_COMPILER_IS_GNUCXX)
- # Help getting compilation warnings
- SET(CMAKE_CXX_FLAGS "-Wall")
- IF (WIN32)
- # This includes enough debug information to get something useful
- # from Dr. Mingw while keeping binary size down. Almost useless
- # with gdb, though.
- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -ggdb0 -gstabs2")
- ENDIF()
-ENDIF()
-
IF (POLICY CMP0015)
CMAKE_POLICY(SET CMP0015 OLD)
ENDIF()