aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibraryWithDebug.cmake
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-10-11 19:03:39 +0000
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-10-11 19:03:39 +0000
commitd260babfdd862601fb6872bde79369ab66f00b77 (patch)
tree6166771ff1d8057bb447840bc056cc922de35e13 /modules/FindLibraryWithDebug.cmake
parent1f61714735fa73514aafaa29601d79b1b86f76bd (diff)
downloadextra-cmake-modules-d260babfdd862601fb6872bde79369ab66f00b77.tar.gz
extra-cmake-modules-d260babfdd862601fb6872bde79369ab66f00b77.tar.bz2
I'm sorry Ralf, but your fix was wrong and breaks build. The error is in FindStrigi.cmake which adds paths without converting them to cmake (==unix) style
svn path=/trunk/KDE/kdelibs/; revision=724221
Diffstat (limited to 'modules/FindLibraryWithDebug.cmake')
-rw-r--r--modules/FindLibraryWithDebug.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/FindLibraryWithDebug.cmake b/modules/FindLibraryWithDebug.cmake
index 9022d80c..a2593974 100644
--- a/modules/FindLibraryWithDebug.cmake
+++ b/modules/FindLibraryWithDebug.cmake
@@ -31,10 +31,7 @@ MACRO(FIND_LIBRARY_WITH_DEBUG var_name win32_dbg_postfix_name dgb_postfix libnam
ELSE(NOT WIN32)
# 1. get all possible libnames
- LIST(LENGTH ARGN listCount)
- if (listCount GREATER 0)
- set (args ${ARGN})
- endif (listCount GREATER 0)
+ SET(args ${ARGN})
SET(newargs "")
SET(libnames_release "")
SET(libnames_debug "")