summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorGunnar Roth <gunnar.roth@gmx.de>2015-02-13 15:10:26 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-24 14:33:06 (GMT)
commitea98667682f29e8f900c01c5c36eebebf80ea8c7 (patch)
treeb6ebb43ef9735f59768d6f38d74f12a2b2c9c9fa /Modules/Platform
parent6adff767208c2238efb2649395a76bc2ea78fb08 (diff)
downloadCMake-ea98667682f29e8f900c01c5c36eebebf80ea8c7.zip
CMake-ea98667682f29e8f900c01c5c36eebebf80ea8c7.tar.gz
CMake-ea98667682f29e8f900c01c5c36eebebf80ea8c7.tar.bz2
MSVC: Define /DWINCE when building for WinCE platforms (#14552)
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 2440f89..4098c3f 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -150,7 +150,7 @@ if(WINCE)
message(FATAL_ERROR "Invalid Windows CE version: ${CMAKE_SYSTEM_VERSION}")
endif()
- set(_PLATFORM_DEFINES "/D_WIN32_WCE=0x${_CE_VERSION} /DUNDER_CE")
+ set(_PLATFORM_DEFINES "/D_WIN32_WCE=0x${_CE_VERSION} /DUNDER_CE /DWINCE")
set(_PLATFORM_DEFINES_C " /D${_MSVC_C_ARCHITECTURE_FAMILY} /D_${_MSVC_C_ARCHITECTURE_FAMILY_UPPER}_")
set(_PLATFORM_DEFINES_CXX " /D${_MSVC_CXX_ARCHITECTURE_FAMILY} /D_${_MSVC_CXX_ARCHITECTURE_FAMILY_UPPER}_")