Commit 983e434b authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'link-no-empty-response-files'

1c5be1f3 Makefile: Do not create an empty linker response file
parents f39d713a 1c5be1f3
......@@ -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_";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment