Revision: 44618
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44618&view=rev
Author:   erikgreenwald
Date:     2011-05-16 18:06:26 +0000 (Mon, 16 May 2011)

Log Message:
-----------
Don't try the math expression if we don't have a void pointer size (???) 
(starseeker)

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2011-05-16 17:41:39 UTC (rev 44617)
+++ brlcad/trunk/CMakeLists.txt 2011-05-16 18:06:26 UTC (rev 44618)
@@ -1203,7 +1203,9 @@
        if (BRLCAD-ENABLE_64BIT)
                set(BRLCAD_ARCH_BITSETTING "ON")
        else (BRLCAD-ENABLE_64BIT)
-               math(EXPR platform_bit_type "${CMAKE_SIZEOF_VOID_P} * 8")
+                IF(CMAKE_SIZEOF_VOID_P)
+                       math(EXPR platform_bit_type "${CMAKE_SIZEOF_VOID_P} * 
8")
+                ENDIF(CMAKE_SIZEOF_VOID_P)
                set(BRLCAD_ARCH_BITSETTING "OFF (${platform_bit_type} bit)")
        endif (BRLCAD-ENABLE_64BIT)
        SET(BRLCAD_ARCH_BITSETTING_LABEL "Build 64-bit release ")


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to