summaryrefslogtreecommitdiff
blob: 3a97157c55987ea67f33e12c636977590293daf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- sakura-3.1.3/CMakeLists.txt
+++ sakura-3.1.3/CMakeLists.txt
@@ -35,12 +35,6 @@
 ADD_DEFINITIONS (-DDATADIR=\\\"${CMAKE_INSTALL_PREFIX}/share\\\")
 ADD_DEFINITIONS (-DBUILDTYPE=\\\"${CMAKE_BUILD_TYPE}\\\")
 
-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
-	SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
-	SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations")
-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
-
 INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
 LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
 LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} m)