summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-02-22 20:24:52 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-02-23 14:14:31 (GMT)
commitf01f10e8fbe2f740e210f467877f6d6b8e8d7e1f (patch)
tree068148e5d0c2cb851f875b2edc668988b613bc55 /Source/cmCustomCommand.cxx
parent33d93089ef25d39e335ccc63c9e27c91a39e7bb1 (diff)
downloadCMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.zip
CMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.tar.gz
CMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.tar.bz2
cmCustomCommand: Record value of CMP0116 at time of creation
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r--Source/cmCustomCommand.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index 149f5e9..f6b9989 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -140,3 +140,13 @@ void cmCustomCommand::SetJobPool(const std::string& job_pool)
{
this->JobPool = job_pool;
}
+
+cmPolicies::PolicyStatus cmCustomCommand::GetCMP0116Status() const
+{
+ return this->CMP0116Status;
+}
+
+void cmCustomCommand::SetCMP0116Status(cmPolicies::PolicyStatus cmp0116)
+{
+ this->CMP0116Status = cmp0116;
+}