summaryrefslogtreecommitdiff
blob: 41817865c577d160b0c45769862f535c14bcef06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Julian Ospald <hasufell@gentoo.org>
Date: Thu Oct 18 14:31:37 UTC 2012
Subject: build-system

do not rename the target if debug is enabled

--- stratagus_2.2.7.orig/CMakeLists.txt
+++ stratagus_2.2.7.orig/CMakeLists.txt
@@ -911,10 +911,6 @@
 add_executable(stratagus WIN32 ${stratagus_SRCS} ${stratagus_HDRS})
 target_link_libraries(stratagus ${stratagus_LIBS})
 
-if(CMAKE_BUILD_TYPE STREQUAL "Debug")
-	set_target_properties(stratagus PROPERTIES OUTPUT_NAME stratagus-dbg)
-endif()
-
 if(WIN32 AND MINGW AND ENABLE_STATIC)
 	set_target_properties(stratagus PROPERTIES LINK_FLAGS "${LINK_FLAGS} -static-libgcc -static-libstdc++ -Wl,--stack,10485760")
 endif()