diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bab0aaf..4ade5da 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -4108,7 +4108,10 @@ int cmake::VisualStudioLinkNonIncremental(std::vector<std::string>& args, return -1; } // Run the link command as given - linkCommand.push_back("/MANIFEST"); + if (hasManifest) + { + linkCommand.push_back("/MANIFEST"); + } if(!cmake::RunCommand("LINK", linkCommand, verbose)) { return -1; |