Skip to content
Snippets Groups Projects
Commit 3fdf1411 authored by Brad King's avatar Brad King
Browse files

BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.

parent 2e2f9b4b
No related branches found
No related tags found
No related merge requests found
......@@ -167,8 +167,8 @@ void cmFindLibraryCommand::AddLib64Paths()
{
return;
}
std::string voidsize =
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
std::string voidsize =
this->Makefile->GetSafeDefinition("CMAKE_SIZEOF_VOID_P");
int size = atoi(voidsize.c_str());
if(size != 8)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment