From 3fdf141197210532446d345c482303d0ffac13a1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 11 Feb 2008 17:00:45 -0500 Subject: [PATCH] BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set. --- Source/cmFindLibraryCommand.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 9ee669db6..ab6140176 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -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) {