From e7cb80556eddc33dfa81c8ba1070a448d8eea5f9 Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Wed, 5 Sep 2012 09:45:39 +0200 Subject: Add additional architectures to CMakePlatformId.h.in Detect the MIPS and SHx architecture for MSVC compiler. --- Modules/CMakePlatformId.h.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in index 4b360f7..c373414 100644 --- a/Modules/CMakePlatformId.h.in +++ b/Modules/CMakePlatformId.h.in @@ -100,6 +100,12 @@ # elif defined(_M_ARM) # define ARCHITECTURE_ID "ARM" +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + # else /* unknown architecture */ # define ARCHITECTURE_ID "" # endif -- cgit v0.12