Merge branch 'link-no-empty-response-files' into release

This commit is contained in:
Brad King 2014-12-01 13:59:41 -05:00
commit 95b89e3fd3
1 changed files with 1 additions and 1 deletions

View File

@ -1846,7 +1846,7 @@ cmMakefileTargetGenerator
useWatcomQuote);
linkLibs = frameworkPath + linkPath + linkLibs;
if(useResponseFile)
if(useResponseFile && linkLibs.find_first_not_of(" ") != linkLibs.npos)
{
// Lookup the response file reference flag.
std::string responseFlagVar = "CMAKE_";