diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-22 20:24:52 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-23 14:14:31 (GMT) |
commit | f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f (patch) | |
tree | 068148e5d0c2cb851f875b2edc668988b613bc55 /Source/cmFLTKWrapUICommand.cxx | |
parent | 33d93089ef25d39e335ccc63c9e27c91a39e7bb1 (diff) | |
download | CMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.zip CMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.tar.gz CMake-f01f10e8fbe2f740e210f467877f6d6b8e8d7e1f.tar.bz2 |
cmCustomCommand: Record value of CMP0116 at time of creation
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r-- | Source/cmFLTKWrapUICommand.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx index d88617a..77d5795 100644 --- a/Source/cmFLTKWrapUICommand.cxx +++ b/Source/cmFLTKWrapUICommand.cxx @@ -10,6 +10,7 @@ #include "cmLocalGenerator.h" #include "cmMakefile.h" #include "cmMessageType.h" +#include "cmPolicies.h" #include "cmRange.h" #include "cmSourceFile.h" #include "cmStringAlgorithms.h" @@ -98,9 +99,11 @@ bool cmFLTKWrapUICommand(std::vector<std::string> const& args, const char* no_comment = nullptr; const char* no_working_dir = nullptr; mf.AddCustomCommandToOutput(cxxres, depends, no_main_dependency, - commandLines, no_comment, no_working_dir); + commandLines, no_comment, no_working_dir, + mf.GetPolicyStatus(cmPolicies::CMP0116)); mf.AddCustomCommandToOutput(hname, depends, no_main_dependency, - commandLines, no_comment, no_working_dir); + commandLines, no_comment, no_working_dir, + mf.GetPolicyStatus(cmPolicies::CMP0116)); cmSourceFile* sf = mf.GetSource(cxxres); sf->AddDepend(hname); |