summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-01 13:59:41 -0500
committerBrad King <brad.king@kitware.com>2014-12-01 13:59:41 -0500
commit95b89e3fd3846b7ca1e6ab429a526d36e92fd1da (patch)
tree3ade0e6a1e6b5f484e40039392c07c6dede526c0
parent9ea39ee04b12097f752fe1c9f4d181b0715c1d3c (diff)
parent1c5be1f367abcc97ed4fe4f0a0235c147e6868a4 (diff)
downloadcmake-95b89e3fd3846b7ca1e6ab429a526d36e92fd1da.tar.gz
Merge branch 'link-no-empty-response-files' into release
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 1f8f686783..85e371d4a8 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -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_";