diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2014-08-26 22:44:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-02 14:17:03 (GMT) |
commit | 89da84657a250b1a1510f49180abc886148facd0 (patch) | |
tree | cd9434a40144135c40d2ee3f824df5ef20755233 /Modules | |
parent | ed7f085f968d9508f247fea4550c3a413ade02c7 (diff) | |
download | CMake-89da84657a250b1a1510f49180abc886148facd0.zip CMake-89da84657a250b1a1510f49180abc886148facd0.tar.gz CMake-89da84657a250b1a1510f49180abc886148facd0.tar.bz2 |
MSVC: Define 'WIN32' for Windows Store and Windows Phone
This was accidentally left out of commit c72f0887 (MSVC: Add default
WindowsPhone and WindowsStore compile flags, 2014-07-28).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-MSVC.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake index 0c2e21b..a72f946 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -163,6 +163,7 @@ if(WINCE) set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib") endif () elseif(WINDOWS_PHONE OR WINDOWS_STORE) + set(_PLATFORM_DEFINES "/DWIN32") set(_FLAGS_C " /DUNICODE /D_UNICODE") set(_FLAGS_CXX " /DUNICODE /D_UNICODE /GR /EHsc") if(WINDOWS_PHONE) |