summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-23 02:15:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-23 02:15:24 (GMT)
commit1eb57b6d0861a59bca02ed142079fec571614faa (patch)
tree0cd30ffc45fba186e9a1f72e92d7e3891c73edc4 /Modules
parentdce1af752f684492b225eeb0c193d951480a23c5 (diff)
downloadCMake-1eb57b6d0861a59bca02ed142079fec571614faa.zip
CMake-1eb57b6d0861a59bca02ed142079fec571614faa.tar.gz
CMake-1eb57b6d0861a59bca02ed142079fec571614faa.tar.bz2
ENH: fix check type size
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckTypeSize.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake
index be76154..c4163cc 100644
--- a/Modules/CheckTypeSize.cmake
+++ b/Modules/CheckTypeSize.cmake
@@ -19,6 +19,7 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
ENDIF("${def}")
ENDFOREACH(def)
SET(CHECK_TYPE_SIZE_PREINCLUDE)
+ SET(CHECK_TYPE_SIZE_PREMAIN)
FOREACH(def ${CMAKE_EXTRA_INCLUDE_FILES})
SET(CHECK_TYPE_SIZE_PREMAIN "${CHECK_TYPE_SIZE_PREMAIN}#include \"${def}\"\n")
ENDFOREACH(def)