aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-10-03 15:51:52 +0000
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-10-03 15:51:52 +0000
commit320616a8cbbc65b69e1e78bae0b5ba805e445326 (patch)
treeecb7318ccfa12cfb573f50d7eaab81fd2682befd
parent56a4726821f27c4537c729cd68ba2307db727fdc (diff)
downloadextra-cmake-modules-320616a8cbbc65b69e1e78bae0b5ba805e445326.tar.gz
extra-cmake-modules-320616a8cbbc65b69e1e78bae0b5ba805e445326.tar.bz2
sopranoindex and sopranoclient also have a debug postfix on win32
svn path=/trunk/KDE/kdelibs/; revision=720734
-rw-r--r--modules/FindLibraryWithDebug.cmake1
-rw-r--r--modules/FindSoprano.cmake7
2 files changed, 5 insertions, 3 deletions
diff --git a/modules/FindLibraryWithDebug.cmake b/modules/FindLibraryWithDebug.cmake
index d3450a2a..a2593974 100644
--- a/modules/FindLibraryWithDebug.cmake
+++ b/modules/FindLibraryWithDebug.cmake
@@ -32,6 +32,7 @@ MACRO(FIND_LIBRARY_WITH_DEBUG var_name win32_dbg_postfix_name dgb_postfix libnam
# 1. get all possible libnames
SET(args ${ARGN})
+ SET(newargs "")
SET(libnames_release "")
SET(libnames_debug "")
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake
index f5d23b3b..e09a311e 100644
--- a/modules/FindSoprano.cmake
+++ b/modules/FindSoprano.cmake
@@ -24,8 +24,8 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_INDEX_LIBRARIES)
${LIB_INSTALL_DIR}
)
-
- FIND_LIBRARY(SOPRANO_INDEX_LIBRARIES
+ FIND_LIBRARY_WITH_DEBUG(SOPRANO_INDEX_LIBRARIES
+ WIN32_DEBUG_POSTFIX d
NAMES
sopranoindex
PATHS
@@ -33,7 +33,8 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_INDEX_LIBRARIES)
${LIB_INSTALL_DIR}
)
- FIND_LIBRARY(SOPRANO_CLIENT_LIBRARIES
+ FIND_LIBRARY_WITH_DEBUG(SOPRANO_CLIENT_LIBRARIES
+ WIN32_DEBUG_POSTFIX d
NAMES
sopranoclient
PATHS