ENH: Add CMAKE_IGNORE_DEPENDENCIES_ORDERING to prevent warnings about dependency problems
This commit is contained in:
parent
a1d61afcf6
commit
1e62f2392c
@ -85,6 +85,8 @@ void cmTargetLinkLibrariesCommand::FinalPass()
|
|||||||
{
|
{
|
||||||
std::vector<std::string>::size_type cc;
|
std::vector<std::string>::size_type cc;
|
||||||
std::string libPath;
|
std::string libPath;
|
||||||
|
if ( !m_Makefile->GetDefinition("CMAKE_IGNORE_DEPENDENCIES_ORDERING") )
|
||||||
|
{
|
||||||
for ( cc = 0; cc < m_HasLocation.size(); cc ++ )
|
for ( cc = 0; cc < m_HasLocation.size(); cc ++ )
|
||||||
{
|
{
|
||||||
libPath = m_HasLocation[cc] + "_CMAKE_PATH";
|
libPath = m_HasLocation[cc] + "_CMAKE_PATH";
|
||||||
@ -101,3 +103,4 @@ void cmTargetLinkLibrariesCommand::FinalPass()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user