Merge topic 'CheckTypeSize_fix_multiple_invocation'

8252406 CheckTypeSize: Unset temporary variables when done (#14690)
This commit is contained in:
Brad King 2014-01-10 09:19:44 -05:00 committed by CMake Topic Stage
commit 58b34959e3
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
check_include_file(stdint.h HAVE_STDINT_H)
check_include_file(stddef.h HAVE_STDDEF_H)
endif()
unset(_CHECK_TYPE_SIZE_BUILTIN_TYPES_ONLY)
unset(_CHECK_TYPE_SIZE_LANGUAGE)
# Compute or load the size or size map.
set(${VARIABLE}_KEYS)