summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-10 00:03:50 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-10 00:03:50 (GMT)
commitf8a8e88a081600e8f6bbad8172f77fb4f422b5cd (patch)
treeb8d71ba874815aa2f9c6a9d399ce27ced00e7f7e /Source/cmMakefile.cxx
parentdb0681d2f6368fa703253f19ce1b00baad2c9757 (diff)
downloadCMake-f8a8e88a081600e8f6bbad8172f77fb4f422b5cd.zip
CMake-f8a8e88a081600e8f6bbad8172f77fb4f422b5cd.tar.gz
CMake-f8a8e88a081600e8f6bbad8172f77fb4f422b5cd.tar.bz2
BUG: Need to include empty arguments when parsing prefix/suffix lists for FindLibrary.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files 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<std::string> prefixes;
std::vector<std::string> 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<std::string>::const_iterator p = path.begin();