diff options
Diffstat (limited to 'Modules/CheckSizeOf.cmake')
-rw-r--r-- | Modules/CheckSizeOf.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckSizeOf.cmake b/Modules/CheckSizeOf.cmake index dcf0991..82d9f43 100644 --- a/Modules/CheckSizeOf.cmake +++ b/Modules/CheckSizeOf.cmake @@ -18,7 +18,7 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) TRY_RUN(${VARIABLE} HAVE_${VARIABLE} ${PROJECT_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckSizeOf.c - COMPILE_DEFINITIONS ${MACRO_CHECK_TYPE_SIZE_FLAGS} + CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS} OUTPUT_VARIABLE OUTPUT) IF(NOT HAVE_${VARIABLE}) WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log |