cmTargetPropCommandBase: Change the interface to return bool.

This is needed for the target_compile_features command, which
may fail at configure time if an invalid feature is specified.
This commit is contained in:
Stephen Kelly
2013-11-09 00:18:35 +01:00
parent 5412deded1
commit 4e6ca50445
10 changed files with 22 additions and 16 deletions

View File

@@ -66,7 +66,7 @@ std::string cmTargetIncludeDirectoriesCommand
}
//----------------------------------------------------------------------------
void cmTargetIncludeDirectoriesCommand
bool cmTargetIncludeDirectoriesCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool prepend, bool system)
{
@@ -78,6 +78,7 @@ void cmTargetIncludeDirectoriesCommand
{
tgt->AddSystemIncludeDirectories(content);
}
return true;
}
//----------------------------------------------------------------------------