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).
This commit is contained in:
parent
ed7f085f96
commit
89da84657a
|
@ -163,6 +163,7 @@ if(WINCE)
|
||||||
set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib")
|
set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib")
|
||||||
endif ()
|
endif ()
|
||||||
elseif(WINDOWS_PHONE OR WINDOWS_STORE)
|
elseif(WINDOWS_PHONE OR WINDOWS_STORE)
|
||||||
|
set(_PLATFORM_DEFINES "/DWIN32")
|
||||||
set(_FLAGS_C " /DUNICODE /D_UNICODE")
|
set(_FLAGS_C " /DUNICODE /D_UNICODE")
|
||||||
set(_FLAGS_CXX " /DUNICODE /D_UNICODE /GR /EHsc")
|
set(_FLAGS_CXX " /DUNICODE /D_UNICODE /GR /EHsc")
|
||||||
if(WINDOWS_PHONE)
|
if(WINDOWS_PHONE)
|
||||||
|
|
Loading…
Reference in New Issue