mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
Merge branch 'link-no-empty-response-files' into release
This commit is contained in:
@@ -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_";
|
||||
|
||||
Reference in New Issue
Block a user