Merge topic 'parallel-make-install-of-CMake'
608d6bb
Fix parallel "make install" of CMake itself
This commit is contained in:
commit
b0dffc7e9c
|
@ -1450,6 +1450,15 @@ cmTargetTraceDependencies
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmTarget::TraceDependencies(const char* vsProjectFile)
|
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.
|
// Use a helper object to trace the dependencies.
|
||||||
cmTargetTraceDependencies tracer(this, this->Internal.Get(), vsProjectFile);
|
cmTargetTraceDependencies tracer(this, this->Internal.Get(), vsProjectFile);
|
||||||
tracer.Trace();
|
tracer.Trace();
|
||||||
|
|
Loading…
Reference in New Issue