ENH: Add CMAKE_IGNORE_DEPENDENCIES_ORDERING to prevent warnings about dependency problems

This commit is contained in:
Andy Cedilnik 2003-10-02 14:50:46 -04:00
parent a1d61afcf6
commit 1e62f2392c
1 changed files with 14 additions and 11 deletions

View File

@ -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");
}
}
}
}