diff options
author | Brad King <brad.king@kitware.com> | 2014-07-28 18:12:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-28 20:21:45 (GMT) |
commit | 1acde6b003812e9964bdf67db5c1ce68a566e675 (patch) | |
tree | 664b64d352a97c9d2aa68b74bdb2d89594e08ada /Modules/Platform | |
parent | f188845237cdfee74dae0658888a61c855e285b3 (diff) | |
download | CMake-1acde6b003812e9964bdf67db5c1ce68a566e675.zip CMake-1acde6b003812e9964bdf67db5c1ce68a566e675.tar.gz CMake-1acde6b003812e9964bdf67db5c1ce68a566e675.tar.bz2 |
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.
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 8e988c9..5b57ee7 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -38,7 +38,7 @@ endif() 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_CONSOLE_EXE "/entry:mainACRTStartup") set(_PLATFORM_LINK_FLAGS " /subsystem:windowsce") |