diff options
author | Brad King <brad.king@kitware.com> | 2008-02-11 17:00:45 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-11 17:00:45 -0500 |
commit | 3fdf141197210532446d345c482303d0ffac13a1 (patch) | |
tree | bdbc271f31bb53f13e9b75ad731522d134e152e8 /Source/cmFindLibraryCommand.cxx | |
parent | 2e2f9b4be338c98bdcb42d51193c9c755fd04f33 (diff) | |
download | cmake-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.cxx | 4 |
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) { |