diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-04-05 21:06:00 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-04-05 21:06:00 (GMT) |
commit | 3ca108141990ff8372f9b4842e9a29a72bb817c2 (patch) | |
tree | 20fb82295df7dc343297780615130a39429d983c /Modules/CMakeTestCCompiler.cmake | |
parent | 96e2956ec80dc302edd2a94b4114ab0fec273cbf (diff) | |
download | CMake-3ca108141990ff8372f9b4842e9a29a72bb817c2.zip CMake-3ca108141990ff8372f9b4842e9a29a72bb817c2.tar.gz CMake-3ca108141990ff8372f9b4842e9a29a72bb817c2.tar.bz2 |
BUG: try to address Bug 1673 .
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index af9420f..f36d5c8 100644 --- a/Modules/CMakeTestCCompiler.cmake +++ b/Modules/CMakeTestCCompiler.cmake @@ -32,5 +32,7 @@ ELSE(NOT CMAKE_C_COMPILER_WORKS) "Determining if the C compiler works passed with " "the following output:\n${OUTPUT}\n\n") ENDIF(C_TEST_WAS_RUN) + INCLUDE (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake) + CHECK_TYPE_SIZE("void *" CMAKE_SIZEOF_VOID_P) SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "") ENDIF(NOT CMAKE_C_COMPILER_WORKS) |