diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-09 00:18:35 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-07 18:11:18 +0200 |
commit | 4e6ca504459640ff39eac48eb62fcae95c8fc8d2 (patch) | |
tree | c0784d1596284903582ce64f5254ea4f159aa8dc /Source/cmTargetSourcesCommand.cxx | |
parent | 5412deded1073e9a217c771ae24e8c5a8a581a96 (diff) | |
download | cmake-4e6ca504459640ff39eac48eb62fcae95c8fc8d2.tar.gz |
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.
Diffstat (limited to 'Source/cmTargetSourcesCommand.cxx')
-rw-r--r-- | Source/cmTargetSourcesCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTargetSourcesCommand.cxx b/Source/cmTargetSourcesCommand.cxx index e82b36d51f..ce3b11e835 100644 --- a/Source/cmTargetSourcesCommand.cxx +++ b/Source/cmTargetSourcesCommand.cxx @@ -56,9 +56,10 @@ std::string cmTargetSourcesCommand } //---------------------------------------------------------------------------- -void cmTargetSourcesCommand +bool cmTargetSourcesCommand ::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content, bool, bool) { tgt->AppendProperty("SOURCES", this->Join(content).c_str()); + return true; } |