[cmake-commits] king committed cmFindLibraryCommand.cxx 1.57 1.58
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 11 17:00:47 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv29448/Source
Modified Files:
cmFindLibraryCommand.cxx
Log Message:
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
Index: cmFindLibraryCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindLibraryCommand.cxx,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- cmFindLibraryCommand.cxx 10 Feb 2008 16:37:06 -0000 1.57
+++ cmFindLibraryCommand.cxx 11 Feb 2008 22:00:45 -0000 1.58
@@ -167,8 +167,8 @@
{
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)
{
More information about the Cmake-commits
mailing list