aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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