mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
This commit is contained in:
@@ -168,7 +168,7 @@ void cmFindLibraryCommand::AddLib64Paths()
|
||||
return;
|
||||
}
|
||||
std::string voidsize =
|
||||
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
|
||||
this->Makefile->GetSafeDefinition("CMAKE_SIZEOF_VOID_P");
|
||||
int size = atoi(voidsize.c_str());
|
||||
if(size != 8)
|
||||
{
|
||||
|
Reference in New Issue
Block a user