summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-MSVC.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-06 20:55:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-08-06 20:55:15 (GMT)
commit5b141a7b293bc26b35fc1b3320931f8cc16901a1 (patch)
tree297cf6ddb6ddfa87e9dddd639fa792106e659b7f /Modules/Platform/Windows-MSVC.cmake
parent1ed726a46c11ac3b9836b210584cd90e91ae3174 (diff)
parentbd827f98efc1d4294b9a7d0fc134629b7507f4a1 (diff)
downloadCMake-5b141a7b293bc26b35fc1b3320931f8cc16901a1.zip
CMake-5b141a7b293bc26b35fc1b3320931f8cc16901a1.tar.gz
CMake-5b141a7b293bc26b35fc1b3320931f8cc16901a1.tar.bz2
Merge topic 'peheader'
bd827f9 WIN: Use COFF file header header for architecture detection (#14083)
Diffstat (limited to 'Modules/Platform/Windows-MSVC.cmake')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 9f97570..1a2d3e9 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -171,13 +171,6 @@ set(_MACHINE_ARCH_FLAG ${MSVC_C_ARCHITECTURE_ID})
if(NOT _MACHINE_ARCH_FLAG)
set(_MACHINE_ARCH_FLAG ${MSVC_CXX_ARCHITECTURE_ID})
endif()
-if(WINCE)
- if(_MACHINE_ARCH_FLAG MATCHES "ARM")
- set(_MACHINE_ARCH_FLAG "THUMB")
- elseif(_MACHINE_ARCH_FLAG MATCHES "SH")
- set(_MACHINE_ARCH_FLAG "SH4")
- endif()
-endif()
set (CMAKE_EXE_LINKER_FLAGS_INIT
"${CMAKE_EXE_LINKER_FLAGS_INIT} /machine:${_MACHINE_ARCH_FLAG}")