From f8a8e88a081600e8f6bbad8172f77fb4f422b5cd Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 9 Feb 2006 19:03:50 -0500 Subject: BUG: Need to include empty arguments when parsing prefix/suffix lists for FindLibrary. --- Source/cmMakefile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index d8ba05a..2fb9349 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2318,8 +2318,8 @@ std::string cmMakefile::FindLibrary(const char* name, this->GetRequiredDefinition("CMAKE_FIND_LIBRARY_SUFFIXES"); std::vector prefixes; std::vector suffixes; - cmSystemTools::ExpandListArgument(prefixes_list, prefixes); - cmSystemTools::ExpandListArgument(suffixes_list, suffixes); + cmSystemTools::ExpandListArgument(prefixes_list, prefixes, true); + cmSystemTools::ExpandListArgument(suffixes_list, suffixes, true); std::string tryPath; for(std::vector::const_iterator p = path.begin(); -- cgit v0.12