diff options
author | Brad King <brad.king@kitware.com> | 2016-10-20 14:36:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-20 14:37:27 (GMT) |
commit | 2d3aa94225e259c9bc1c0d469e6326b476d225c1 (patch) | |
tree | b88191eb67c139f7a75cb74bfc517962d5c4f6eb /Source/cmGlobalNinjaGenerator.h | |
parent | 7aa9961939f99c915485d86e460b9941f949d59c (diff) | |
download | CMake-2d3aa94225e259c9bc1c0d469e6326b476d225c1.zip CMake-2d3aa94225e259c9bc1c0d469e6326b476d225c1.tar.gz CMake-2d3aa94225e259c9bc1c0d469e6326b476d225c1.tar.bz2 |
cmGlobalGenerator: Allow FindMakeProgram to fail
Revise its signature to return `bool` so that it can fail and abort
configuration early.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index d4a14e2..8613cb4 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -357,7 +357,7 @@ protected: private: std::string GetEditCacheCommand() const CM_OVERRIDE; - void FindMakeProgram(cmMakefile* mf) CM_OVERRIDE; + bool FindMakeProgram(cmMakefile* mf) CM_OVERRIDE; void CheckNinjaFeatures(); bool CheckLanguages(std::vector<std::string> const& languages, cmMakefile* mf) const CM_OVERRIDE; |