diff options
author | Brad King <brad.king@kitware.com> | 2010-12-14 19:38:09 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-12-14 19:38:09 (GMT) |
commit | b0dffc7e9ca010e42e5baac9623493423664abe8 (patch) | |
tree | c5da342ea099bfcb04149d5dad777b6a21aa0fbd /Source | |
parent | adf62a98f3460899337b00eb9553b86baf691806 (diff) | |
parent | 608d6bba89a5588c370dda6d6d46365c24168b55 (diff) | |
download | CMake-b0dffc7e9ca010e42e5baac9623493423664abe8.zip CMake-b0dffc7e9ca010e42e5baac9623493423664abe8.tar.gz CMake-b0dffc7e9ca010e42e5baac9623493423664abe8.tar.bz2 |
Merge topic 'parallel-make-install-of-CMake'
608d6bb Fix parallel "make install" of CMake itself
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTarget.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index c82c11e..dd0e7aa 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1450,6 +1450,15 @@ cmTargetTraceDependencies //---------------------------------------------------------------------------- void cmTarget::TraceDependencies(const char* vsProjectFile) { + // CMake-generated targets have no dependencies to trace. Normally tracing + // would find nothing anyway, but when building CMake itself the "install" + // target command ends up referencing the "cmake" target but we do not + // really want the dependency because "install" depend on "all" anyway. + if(this->GetType() == cmTarget::GLOBAL_TARGET) + { + return; + } + // Use a helper object to trace the dependencies. cmTargetTraceDependencies tracer(this, this->Internal.Get(), vsProjectFile); tracer.Trace(); |