COMP: Removed unused variable.
This commit is contained in:
parent
df70e3de66
commit
a7441ce80e
@ -54,14 +54,12 @@ bool cmAddSubDirectoryCommand::InitialPass
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for relative arguments
|
// check for relative arguments
|
||||||
bool relativeSource = true;
|
|
||||||
std::string binPath = binArg;
|
std::string binPath = binArg;
|
||||||
std::string srcPath = std::string(this->Makefile->GetCurrentDirectory()) +
|
std::string srcPath = std::string(this->Makefile->GetCurrentDirectory()) +
|
||||||
"/" + srcArg;
|
"/" + srcArg;
|
||||||
// if the path does not exist then the arg was relative
|
// if the path does not exist then the arg was relative
|
||||||
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
|
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
|
||||||
{
|
{
|
||||||
relativeSource = false;
|
|
||||||
srcPath = srcArg;
|
srcPath = srcArg;
|
||||||
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
|
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user