summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-11-14 19:21:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-11-14 19:21:39 (GMT)
commit03e2911e55541a92df69e9ac3bc8eb161b349779 (patch)
tree4c8df8442a8acf88502c501bb190d1b00a2ded88 /Modules/CMakeCCompiler.cmake.in
parent6174cc7091fec5e8c5e45e6e77de8bf716e9417c (diff)
downloadCMake-03e2911e55541a92df69e9ac3bc8eb161b349779.zip
CMake-03e2911e55541a92df69e9ac3bc8eb161b349779.tar.gz
CMake-03e2911e55541a92df69e9ac3bc8eb161b349779.tar.bz2
BUG: fix SIZEOF VOIDP problem
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
-rw-r--r--Modules/CMakeCCompiler.cmake.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index 9dc9737..dcd8054 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -25,4 +25,6 @@ IF(UNIX)
ELSE(UNIX)
SET(CMAKE_C_OUTPUT_EXTENSION .obj)
ENDIF(UNIX)
-
+# save the size of void* in case where cache is removed
+# and the this file is still around
+SET(CMAKE_SIZEOF_VOID_P @CMAKE_SIZEOF_VOID_P@)