summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportAndroidMKGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-03-15 15:01:59 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-05-13 14:45:36 (GMT)
commitb133d14fb1c0183c647136188cf4fff0ed05c58e (patch)
tree5505820b876ec4b4182b537ec069c8a1acb059bc /Source/cmInstallExportAndroidMKGenerator.cxx
parent741fb95f660c73035a26b572dfcd3d628d324d57 (diff)
downloadCMake-b133d14fb1c0183c647136188cf4fff0ed05c58e.zip
CMake-b133d14fb1c0183c647136188cf4fff0ed05c58e.tar.gz
CMake-b133d14fb1c0183c647136188cf4fff0ed05c58e.tar.bz2
Refactor: Allow cmInstallGenerator::Compute() to return an error
This is preparation for an upcoming merge request, which will add a new cmInstallGenerator that returns false if there are errors in the Compute() step.
Diffstat (limited to 'Source/cmInstallExportAndroidMKGenerator.cxx')
-rw-r--r--Source/cmInstallExportAndroidMKGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallExportAndroidMKGenerator.cxx b/Source/cmInstallExportAndroidMKGenerator.cxx
index 186b9df..7de3dd4 100644
--- a/Source/cmInstallExportAndroidMKGenerator.cxx
+++ b/Source/cmInstallExportAndroidMKGenerator.cxx
@@ -30,10 +30,11 @@ cmInstallExportAndroidMKGenerator::~cmInstallExportAndroidMKGenerator()
{
}
-void cmInstallExportAndroidMKGenerator::Compute(cmLocalGenerator* lg)
+bool cmInstallExportAndroidMKGenerator::Compute(cmLocalGenerator* lg)
{
this->LocalGenerator = lg;
this->ExportSet->Compute(lg);
+ return true;
}
void cmInstallExportAndroidMKGenerator::GenerateScript(std::ostream& os)