aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 62f4006a..389edd0c 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -727,8 +727,10 @@ if (CMAKE_C_COMPILER MATCHES "icc")
endif (CMAKE_C_COMPILER MATCHES "icc")
-# it seems we prefer not to use a different postfix for debug libs, Alex
-# SET(CMAKE_DEBUG_POSTFIX "_debug")
+# it seems we prefer not to use a different postfix for debug libs outside of Windows
+if (WIN32)
+ SET(CMAKE_DEBUG_POSTFIX "d")
+endif (WIN32)
########### end of platform specific stuff ##########################