summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-25 12:58:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-25 12:58:12 (GMT)
commit5a6e683a32c8ba9f7610e4ca0c6c3d9e7888d934 (patch)
tree04bcac5c311497b68363a56e1121942232326312 /Source/cmcmd.cxx
parent73a6605e069dbe05b8303007620544f9c73f0273 (diff)
parent614876c638f7a428ff2f47104e2427bdbb64958d (diff)
downloadCMake-5a6e683a32c8ba9f7610e4ca0c6c3d9e7888d934.zip
CMake-5a6e683a32c8ba9f7610e4ca0c6c3d9e7888d934.tar.gz
CMake-5a6e683a32c8ba9f7610e4ca0c6c3d9e7888d934.tar.bz2
Merge topic 'unixmfg3-string'
614876c638 cmLocalUnixMakefileGenerator3: more methods accept std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2840
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 26f7509..cb59034 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -964,8 +964,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
std::unique_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator(&mf));
// Actually scan dependencies.
- return lgd->UpdateDependencies(depInfo.c_str(), verbose, color) ? 0
- : 2;
+ return lgd->UpdateDependencies(depInfo, verbose, color) ? 0 : 2;
}
return 1;
}