summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-02 15:21:16 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-02 15:21:16 (GMT)
commit983e434b006bd46206a6d04ef0f04e37b652668e (patch)
treec91c7d6013f8ff4d0facbc542f128cf8d352a26d /Source
parentf39d713af62b4087f059ac0cd861c363d3f45bd3 (diff)
parent1c5be1f367abcc97ed4fe4f0a0235c147e6868a4 (diff)
downloadCMake-983e434b006bd46206a6d04ef0f04e37b652668e.zip
CMake-983e434b006bd46206a6d04ef0f04e37b652668e.tar.gz
CMake-983e434b006bd46206a6d04ef0f04e37b652668e.tar.bz2
Merge topic 'link-no-empty-response-files'
1c5be1f3 Makefile: Do not create an empty linker response file
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 1e01f11..8444dfb 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1853,7 +1853,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_";