summaryrefslogtreecommitdiff
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-11 17:00:45 -0500
committerBrad King <brad.king@kitware.com>2008-02-11 17:00:45 -0500
commit3fdf141197210532446d345c482303d0ffac13a1 (patch)
treebdbc271f31bb53f13e9b75ad731522d134e152e8 /Source/cmFindLibraryCommand.cxx
parent2e2f9b4be338c98bdcb42d51193c9c755fd04f33 (diff)
downloadcmake-3fdf141197210532446d345c482303d0ffac13a1.tar.gz
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 9ee669db6f..ab61401760 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)
{