diff options
author | Brad King <brad.king@kitware.com> | 2014-12-01 13:59:41 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-01 13:59:41 -0500 |
commit | 95b89e3fd3846b7ca1e6ab429a526d36e92fd1da (patch) | |
tree | 3ade0e6a1e6b5f484e40039392c07c6dede526c0 | |
parent | 9ea39ee04b12097f752fe1c9f4d181b0715c1d3c (diff) | |
parent | 1c5be1f367abcc97ed4fe4f0a0235c147e6868a4 (diff) | |
download | cmake-95b89e3fd3846b7ca1e6ab429a526d36e92fd1da.tar.gz |
Merge branch 'link-no-empty-response-files' into release
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 2 |
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_"; |