summaryrefslogtreecommitdiffstats
path: root/Modules/CheckSizeOf.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-25 14:08:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-25 14:08:08 (GMT)
commit5902279ebc28df950c3d076b4738449cd8d2e042 (patch)
tree78d34c1105189e266a627c8ffccd93e9055b07e9 /Modules/CheckSizeOf.cmake
parent561a3da2043c3fbebd1f90c88842513625076aed (diff)
downloadCMake-5902279ebc28df950c3d076b4738449cd8d2e042.zip
CMake-5902279ebc28df950c3d076b4738449cd8d2e042.tar.gz
CMake-5902279ebc28df950c3d076b4738449cd8d2e042.tar.bz2
Fix modules for recent changes
Diffstat (limited to 'Modules/CheckSizeOf.cmake')
-rw-r--r--Modules/CheckSizeOf.cmake2
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