diff options
author | Gunnar Roth <gunnar.roth@gmx.de> | 2015-02-13 15:10:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-24 14:33:06 (GMT) |
commit | ea98667682f29e8f900c01c5c36eebebf80ea8c7 (patch) | |
tree | b6ebb43ef9735f59768d6f38d74f12a2b2c9c9fa /Modules/Platform | |
parent | 6adff767208c2238efb2649395a76bc2ea78fb08 (diff) | |
download | CMake-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.cmake | 2 |
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}_") |