summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-20 13:34:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-20 13:34:34 (GMT)
commitd18806e67336d96a9a22b860246de3f1c518ce40 (patch)
treec734e10d0aaedf072173e449d56fa37d100c2cd8 /Source
parent20cb716e4f8061441599c3972a036e91e62b9af0 (diff)
parentea2a05f402d2e1090d8d1e92e67c08ac1e5af66a (diff)
downloadCMake-d18806e67336d96a9a22b860246de3f1c518ce40.zip
CMake-d18806e67336d96a9a22b860246de3f1c518ce40.tar.gz
CMake-d18806e67336d96a9a22b860246de3f1c518ce40.tar.bz2
Merge topic 'ninja-custom-command-depends'
ea2a05f402 Add variable CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8220
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index 65a8eb5..b1398db 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -49,7 +49,8 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
bool append = false;
bool uses_terminal = false;
bool command_expand_lists = false;
- bool depends_explicit_only = false;
+ bool depends_explicit_only =
+ mf.IsOn("CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY");
std::string implicit_depends_lang;
cmImplicitDependsList implicit_depends;