aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-02-28 18:23:12 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-02-28 18:23:12 +0000
commitbedb867ceeb8c4f3c43659abca990abe1f9068d3 (patch)
tree7c5aad7d1dcb3601a5a0fe9bfecfa776ea1394e4
parentf398b408547ed405de0b3afc61766fcf8d6d054b (diff)
downloadextra-cmake-modules-bedb867ceeb8c4f3c43659abca990abe1f9068d3.tar.gz
extra-cmake-modules-bedb867ceeb8c4f3c43659abca990abe1f9068d3.tar.bz2
-set CMAKE_DEBUG_POSTFIX to "_debug", this has the effect that when doing a debug build e.g. kdecore will be named "libkdecore_debug.so"
Alex svn path=/trunk/KDE/kdelibs/; revision=514550
-rw-r--r--modules/FindKDE4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index caa0846d..989cfc65 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -291,6 +291,8 @@ if (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
endif (CMAKE_COMPILER_IS_GNUCXX)
+SET(CMAKE_DEBUG_POSTFIX "_debug")
+
########### end of platform specific stuff ##########################