mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
ENH: Clarified recursive TRY_COMPILE error message.
This commit is contained in:
@@ -118,7 +118,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
|
||||
// do not allow recursive try Compiles
|
||||
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);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user