diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-01-09 16:34:45 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-01-09 16:34:45 (GMT) |
commit | dfa4cbd19e15d6f96a7d8f299b45bfe16de77cc1 (patch) | |
tree | 6bf9153342e2b0f28fa2660b5df694394202ff88 /Modules | |
parent | f36608b8edf6fcb5ef6386c35199702dfe7e3249 (diff) | |
download | CMake-dfa4cbd19e15d6f96a7d8f299b45bfe16de77cc1.zip CMake-dfa4cbd19e15d6f96a7d8f299b45bfe16de77cc1.tar.gz CMake-dfa4cbd19e15d6f96a7d8f299b45bfe16de77cc1.tar.bz2 |
minor fix to backw compat
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CheckTypeSize.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index ec64633..3f73fee 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake @@ -7,6 +7,7 @@ # MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) + SET(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS 1) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") SET(MACRO_CHECK_TYPE_SIZE_FLAGS "-DCHECK_TYPE_SIZE_TYPE=\"${TYPE}\" ${CMAKE_REQUIRED_FLAGS}") @@ -37,4 +38,5 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) APPEND) ENDIF(HAVE_${VARIABLE}) ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$") + SET(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS ) ENDMACRO(CHECK_TYPE_SIZE) |