|
@@ -1846,7 +1846,7 @@ cmMakefileTargetGenerator
|
|
|
useWatcomQuote);
|
|
useWatcomQuote);
|
|
|
linkLibs = frameworkPath + linkPath + linkLibs;
|
|
linkLibs = frameworkPath + linkPath + linkLibs;
|
|
|
|
|
|
|
|
- if(useResponseFile)
|
|
|
|
|
|
|
+ if(useResponseFile && linkLibs.find_first_not_of(" ") != linkLibs.npos)
|
|
|
{
|
|
{
|
|
|
// Lookup the response file reference flag.
|
|
// Lookup the response file reference flag.
|
|
|
std::string responseFlagVar = "CMAKE_";
|
|
std::string responseFlagVar = "CMAKE_";
|