diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-04 00:23:19 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-04 00:23:19 (GMT) |
commit | e720b84d6b6622a0e8780bd87fc9d364658de3f0 (patch) | |
tree | 4bb3b5de03655c1f13dcd3321d19d2cd120a7b35 /Modules/CheckTypeSize.cmake | |
parent | 624a222df3d98052d2ee9a72a0a56836045f4d1d (diff) | |
download | CMake-e720b84d6b6622a0e8780bd87fc9d364658de3f0.zip CMake-e720b84d6b6622a0e8780bd87fc9d364658de3f0.tar.gz CMake-e720b84d6b6622a0e8780bd87fc9d364658de3f0.tar.bz2 |
Add required flags
Diffstat (limited to 'Modules/CheckTypeSize.cmake')
-rw-r--r-- | Modules/CheckTypeSize.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index e7bc1b5..08d1a20 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake @@ -8,7 +8,8 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") - SET(MACRO_CHECK_TYPE_SIZE_FLAGS -DCHECK_TYPE_SIZE_TYPE="${TYPE}") + SET(MACRO_CHECK_TYPE_SIZE_FLAGS -DCHECK_TYPE_SIZE_TYPE="${TYPE}" + ${CMAKE_REQUIRED_FLAGS}) IF(HAVE_SYS_TYPES_H) SET(MACRO_CHECK_TYPE_SIZE_FLAGS "${MACRO_CHECK_TYPE_SIZE_FLAGS} -DHAVE_SYS_TYPES_H") |