Commit 4b16219c authored by Chris Harris's avatar Chris Harris
Browse files

COMP: Rename CMAKE_SIZEOF_XXX with VTK_SIZEOF_XXX

VTK no longer defines the CMAKE_ versions they have been
renamed to VTK_
parent bcfdccac
......@@ -14,12 +14,12 @@ SET(ARCH_TO_BUILD ${ICE_SYSTEM} CACHE INTERNAL "Host Arcitecture : Linux IRIXN32
#
ADD_DEFINITIONS(-D${ARCH_TO_BUILD})
SET(ICE_SIZEOF_CHAR ${CMAKE_SIZEOF_CHAR})
SET(ICE_SIZEOF_DOUBLE ${CMAKE_SIZEOF_DOUBLE})
SET(ICE_SIZEOF_FLOAT ${CMAKE_SIZEOF_FLOAT})
SET(ICE_SIZEOF_INT ${CMAKE_SIZEOF_INT})
SET(ICE_SIZEOF_LONG ${CMAKE_SIZEOF_LONG})
SET(ICE_SIZEOF_SHORT ${CMAKE_SIZEOF_SHORT})
SET(ICE_SIZEOF_CHAR ${VTK_SIZEOF_CHAR})
SET(ICE_SIZEOF_DOUBLE ${VTK_SIZEOF_DOUBLE})
SET(ICE_SIZEOF_FLOAT ${VTK_SIZEOF_FLOAT})
SET(ICE_SIZEOF_INT ${VTK_SIZEOF_INT})
SET(ICE_SIZEOF_LONG ${VTK_SIZEOF_LONG})
SET(ICE_SIZEOF_SHORT ${VTK_SIZEOF_SHORT})
INCLUDE (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
IF(WIN32)
......
......@@ -291,12 +291,12 @@ SET(ARCH_TO_BUILD ${XDMF_SYSTEM} CACHE INTERNAL "Host Arcitecture : Linux IRIXN3
#
ADD_DEFINITIONS(-D${ARCH_TO_BUILD})
SET(XDMF_SIZEOF_CHAR ${CMAKE_SIZEOF_CHAR})
SET(XDMF_SIZEOF_DOUBLE ${CMAKE_SIZEOF_DOUBLE})
SET(XDMF_SIZEOF_FLOAT ${CMAKE_SIZEOF_FLOAT})
SET(XDMF_SIZEOF_INT ${CMAKE_SIZEOF_INT})
SET(XDMF_SIZEOF_LONG ${CMAKE_SIZEOF_LONG})
SET(XDMF_SIZEOF_SHORT ${CMAKE_SIZEOF_SHORT})
SET(XDMF_SIZEOF_CHAR ${VTK_SIZEOF_CHAR})
SET(XDMF_SIZEOF_DOUBLE ${VTK_SIZEOF_DOUBLE})
SET(XDMF_SIZEOF_FLOAT ${VTK_SIZEOF_FLOAT})
SET(XDMF_SIZEOF_INT ${VTK_SIZEOF_INT})
SET(XDMF_SIZEOF_LONG ${VTK_SIZEOF_LONG})
SET(XDMF_SIZEOF_SHORT ${VTK_SIZEOF_SHORT})
INCLUDE (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
IF(WIN32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment