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::string libPath;
|
||||
if ( !m_Makefile->GetDefinition("CMAKE_IGNORE_DEPENDENCIES_ORDERING") )
|
||||
{
|
||||
for ( cc = 0; cc < m_HasLocation.size(); cc ++ )
|
||||
{
|
||||
libPath = m_HasLocation[cc] + "_CMAKE_PATH";
|
||||
|
@ -100,4 +102,5 @@ void cmTargetLinkLibrariesCommand::FinalPass()
|
|||
cmSystemTools::Message(str.c_str(), "CMake Error");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue