BUG: make "cmake -Wno-dev ../srcdir" work, advancing i had the effect that
the argument after -Wno-dev was skipped, which happened to be the source directory, and so the current working directory was assumed as source directory, although it was the build directory (maybe this didn't have an effect if there was already a CMakeCache.txt in the build dir) Alex
This commit is contained in:
parent
614b1ab358
commit
96525cf3c3
|
@ -592,12 +592,10 @@ void cmake::SetArgs(const std::vector<std::string>& args)
|
|||
else if(arg.find("-Wno-dev",0) == 0)
|
||||
{
|
||||
// skip for now
|
||||
i++;
|
||||
}
|
||||
else if(arg.find("-Wdev",0) == 0)
|
||||
{
|
||||
// skip for now
|
||||
i++;
|
||||
}
|
||||
else if(arg.find("--graphviz=",0) == 0)
|
||||
{
|
||||
|
@ -3507,7 +3505,7 @@ void cmake::ReportUndefinedPropertyAccesses(const char *filename)
|
|||
scopeStr = "unknown";
|
||||
break;
|
||||
}
|
||||
fprintf(progFile,"%s with scope %s\n",ap->first.c_str(),scopeStr);
|
||||
fprintf(progFile, "%s with scope %s\n", ap->first.c_str(), scopeStr);
|
||||
}
|
||||
}
|
||||
fclose(progFile);
|
||||
|
|
Loading…
Reference in New Issue