From 320616a8cbbc65b69e1e78bae0b5ba805e445326 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Wed, 3 Oct 2007 15:51:52 +0000 Subject: sopranoindex and sopranoclient also have a debug postfix on win32 svn path=/trunk/KDE/kdelibs/; revision=720734 --- modules/FindLibraryWithDebug.cmake | 1 + modules/FindSoprano.cmake | 7 ++++--- 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 -- cgit v1.2.1