summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorGunnar Roth <gunnar.roth@gmx.de>2015-02-13 15:11:38 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-24 14:33:08 (GMT)
commit886dcaa7c5f91269b91da857d6eb2db3610d385e (patch)
treecf6346475b1ec209ded3f14320d62a2e68fb491a /Modules/CMakeDetermineCompilerId.cmake
parentea98667682f29e8f900c01c5c36eebebf80ea8c7 (diff)
downloadCMake-886dcaa7c5f91269b91da857d6eb2db3610d385e.zip
CMake-886dcaa7c5f91269b91da857d6eb2db3610d385e.tar.gz
CMake-886dcaa7c5f91269b91da857d6eb2db3610d385e.tar.bz2
MSVC: Distinguish among ARM architectures more precisely (#14552)
Detect the exact ARM architecture instead of just "ARM". Treat "ARM" as an architecture family that includes THUMB (ARMV4I and ARMV5I).
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index d22a867..403ac08 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -508,8 +508,6 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file)
set(ARCHITECTURE_ID "SH4")
elseif(peheader STREQUAL "50450000a801")
set(ARCHITECTURE_ID "SH5")
- elseif(peheader STREQUAL "50450000c201")
- set(ARCHITECTURE_ID "THUMB")
endif()
endif()