diff options
author | Brad King <brad.king@kitware.com> | 2014-12-01 18:59:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-01 18:59:41 (GMT) |
commit | 95b89e3fd3846b7ca1e6ab429a526d36e92fd1da (patch) | |
tree | 3ade0e6a1e6b5f484e40039392c07c6dede526c0 /Source | |
parent | 9ea39ee04b12097f752fe1c9f4d181b0715c1d3c (diff) | |
parent | 1c5be1f367abcc97ed4fe4f0a0235c147e6868a4 (diff) | |
download | CMake-95b89e3fd3846b7ca1e6ab429a526d36e92fd1da.zip CMake-95b89e3fd3846b7ca1e6ab429a526d36e92fd1da.tar.gz CMake-95b89e3fd3846b7ca1e6ab429a526d36e92fd1da.tar.bz2 |
Merge branch 'link-no-empty-response-files' into release
Diffstat (limited to 'Source')
-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 1f8f686..85e371d 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_"; |