ENH: Clarified recursive TRY_COMPILE error message.
This commit is contained in:
parent
a7c779731d
commit
1e03fe75bb
|
@ -118,7 +118,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
|
||||||
// do not allow recursive try Compiles
|
// do not allow recursive try Compiles
|
||||||
if (!strcmp(binaryDirectory,mf->GetHomeOutputDirectory()))
|
if (!strcmp(binaryDirectory,mf->GetHomeOutputDirectory()))
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Attempt at a recursive or nested TRY_COMPILE",
|
cmSystemTools::Error("Attempt at a recursive or nested TRY_COMPILE in directory ",
|
||||||
binaryDirectory);
|
binaryDirectory);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue