diff options
author | Brad King <brad.king@kitware.com> | 2008-02-11 22:00:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-11 22:00:45 (GMT) |
commit | 3fdf141197210532446d345c482303d0ffac13a1 (patch) | |
tree | bdbc271f31bb53f13e9b75ad731522d134e152e8 | |
parent | 2e2f9b4be338c98bdcb42d51193c9c755fd04f33 (diff) | |
download | CMake-3fdf141197210532446d345c482303d0ffac13a1.zip CMake-3fdf141197210532446d345c482303d0ffac13a1.tar.gz CMake-3fdf141197210532446d345c482303d0ffac13a1.tar.bz2 |
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
-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 9ee669d..ab61401 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) { |