summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2013-09-23 17:38:13 (GMT)
committerBrad King <brad.king@kitware.com>2013-09-23 21:11:47 (GMT)
commite63cf5f0999da8242c6e32698521d7e2eb12497b (patch)
tree33daf968d8d4280b1141028c5421530275dc0044 /Modules
parent475635ec0f3eeae9f6db0f9daa8a9c4cd8b3f989 (diff)
downloadCMake-e63cf5f0999da8242c6e32698521d7e2eb12497b.zip
CMake-e63cf5f0999da8242c6e32698521d7e2eb12497b.tar.gz
CMake-e63cf5f0999da8242c6e32698521d7e2eb12497b.tar.bz2
MSVC: Fix version test for linking corelibc on Windows CE (#14420)
In commit 8fcf0ab0 (Add support for new Windows CE compiler, 2013-08-04) we made corelibc conditional on the MSVC version, but the version value was incorrect. Update it to use corelibc for VS 2008 and below.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 8cb7fd5..d9881f2 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -144,7 +144,7 @@ if(WINCE)
set(CMAKE_C_STANDARD_LIBRARIES_INIT "coredll.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib")
set(CMAKE_EXE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT} /NODEFAULTLIB:libc.lib /NODEFAULTLIB:oldnames.lib")
- if (MSVC_VERSION LESS 1500)
+ if (MSVC_VERSION LESS 1600)
set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib")
endif ()
else()