BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
This commit is contained in:
parent
2e2f9b4be3
commit
3fdf141197
|
@ -167,8 +167,8 @@ void cmFindLibraryCommand::AddLib64Paths()
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
std::string voidsize =
|
std::string voidsize =
|
||||||
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
|
this->Makefile->GetSafeDefinition("CMAKE_SIZEOF_VOID_P");
|
||||||
int size = atoi(voidsize.c_str());
|
int size = atoi(voidsize.c_str());
|
||||||
if(size != 8)
|
if(size != 8)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue