MSVC: Use STREQUAL to check for WindowsCE

In the Platform/Windows-MSVC module it is not necessary to use MATCHES
because we are comparing against an exact string.
This commit is contained in:
Brad King 2014-07-28 14:12:39 -04:00
parent f188845237
commit 1acde6b003
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ endif()
set(WIN32 1) set(WIN32 1)
if(CMAKE_SYSTEM_NAME MATCHES "WindowsCE") if(CMAKE_SYSTEM_NAME STREQUAL "WindowsCE")
set(CMAKE_CREATE_WIN32_EXE "/entry:WinMainCRTStartup") set(CMAKE_CREATE_WIN32_EXE "/entry:WinMainCRTStartup")
set(CMAKE_CREATE_CONSOLE_EXE "/entry:mainACRTStartup") set(CMAKE_CREATE_CONSOLE_EXE "/entry:mainACRTStartup")
set(_PLATFORM_LINK_FLAGS " /subsystem:windowsce") set(_PLATFORM_LINK_FLAGS " /subsystem:windowsce")