diff options
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index 4c534bb..f9aee68 100644 --- a/Modules/CMakeTestCCompiler.cmake +++ b/Modules/CMakeTestCCompiler.cmake @@ -33,6 +33,7 @@ ELSE(NOT CMAKE_C_COMPILER_WORKS) "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) + # Check the size of void*. This used to be "void *" but icc expands the *. + CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P) SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "") ENDIF(NOT CMAKE_C_COMPILER_WORKS) |