summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index cbb8ba7..0a58904 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3875,7 +3875,7 @@ int cmake::VisualStudioLink(std::vector<std::string>& args, int type)
i != args.end(); ++i)
{
// check for nmake temporary files
- if((*i)[0] == '@')
+ if((*i)[0] == '@' && i->find("@CMakeFiles") != 0 )
{
std::ifstream fin(i->substr(1).c_str());
std::string line;