diff options
author | Brad King <brad.king@kitware.com> | 2018-03-06 18:54:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-06 18:54:45 (GMT) |
commit | 910a9d608e31a3446d0cbb86eb78917cc04b1a64 (patch) | |
tree | 22f68e393a0698bc7c91469d56bc80acfbb952fa /Source/cmMakefile.cxx | |
parent | 674c5b306671129bc4a854137c304f19e2c3bf65 (diff) | |
download | CMake-910a9d608e31a3446d0cbb86eb78917cc04b1a64.zip CMake-910a9d608e31a3446d0cbb86eb78917cc04b1a64.tar.gz CMake-910a9d608e31a3446d0cbb86eb78917cc04b1a64.tar.bz2 |
cmTarget: Simplify ClearDependencyInformation signature
We don't need to pass an argument with the target's own name.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 47d75af..a69f75f 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1867,7 +1867,7 @@ cmTarget* cmMakefile::AddLibrary(const std::string& lname, // Clear its dependencies. Otherwise, dependencies might persist // over changes in CMakeLists.txt, making the information stale and // hence useless. - target->ClearDependencyInformation(*this, lname); + target->ClearDependencyInformation(*this); if (excludeFromAll) { target->SetProperty("EXCLUDE_FROM_ALL", "TRUE"); } |