mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 07:11:52 +08:00
ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
This commit is contained in:
@@ -67,8 +67,14 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
// add special 64 bit paths if this is a 64 bit compile.
|
||||
this->AddLib64Paths();
|
||||
|
||||
if(this->Makefile->GetCMakeInstance()
|
||||
->GetPropertyAsBool("FIND_LIBRARY_USE_LIB64_PATHS"))
|
||||
{
|
||||
// add special 64 bit paths if this is a 64 bit compile.
|
||||
this->AddLib64Paths();
|
||||
}
|
||||
|
||||
std::string library;
|
||||
for(std::vector<std::string>::iterator i = this->Names.begin();
|
||||
i != this->Names.end() ; ++i)
|
||||
|
Reference in New Issue
Block a user