aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDEWIN32.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index c3e76947..a71ba499 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -31,6 +31,13 @@ FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32${_KDEWIN32_POSTFIX}
${_program_FILES_DIR}/kdewin32/lib
)
+if (NOT KDEWIN32_LIBRARY AND NOT MSVC)
+ # We can mix release/debug builds
+ FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32 kdewin32d
+ PATHS
+ ${_program_FILES_DIR}/kdewin32/lib
+ )
+endif (NOT KDEWIN32_LIBRARY AND NOT MSVC)
# kdelibs/win/ has to be built before the rest of kdelibs/
# eventually it will be moved out from kdelibs/