diff options
| author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-10-11 09:29:35 +0000 | 
|---|---|---|
| committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-10-11 09:29:35 +0000 | 
| commit | 196d3adb29445a643059a3b2fd60814e6d30b5ce (patch) | |
| tree | 328e41dcfa0b75e00617b5b5757fafe741a92f47 /modules | |
| parent | ce908ad54e4c633fdb557edb073b03d2630b358e (diff) | |
| download | extra-cmake-modules-196d3adb29445a643059a3b2fd60814e6d30b5ce.tar.gz extra-cmake-modules-196d3adb29445a643059a3b2fd60814e6d30b5ce.tar.bz2 | |
workaround for cmake error: "syntax error, unexpected cal_ERROR, expecting $end (19)," on win32 
svn path=/trunk/KDE/kdelibs/; revision=724081
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindLibraryWithDebug.cmake | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/modules/FindLibraryWithDebug.cmake b/modules/FindLibraryWithDebug.cmake index a2593974..9022d80c 100644 --- a/modules/FindLibraryWithDebug.cmake +++ b/modules/FindLibraryWithDebug.cmake @@ -31,7 +31,10 @@ MACRO(FIND_LIBRARY_WITH_DEBUG var_name win32_dbg_postfix_name dgb_postfix libnam     ELSE(NOT WIN32)       # 1. get all possible libnames -     SET(args ${ARGN}) +     LIST(LENGTH ARGN listCount) +     if (listCount GREATER 0) +        set (args ${ARGN}) +     endif (listCount GREATER 0)       SET(newargs "")       SET(libnames_release "")       SET(libnames_debug "") | 
