diff options
author | Brad King <brad.king@kitware.com> | 2013-08-08 17:55:07 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-08-08 17:55:07 (GMT) |
commit | 4408382f198fdc61a010b707c063efd021b0e10a (patch) | |
tree | 42a0b5c5d7bb05537b5974ab8a7e9e10f955b436 /Modules/Platform | |
parent | a4529584abaf43aa1676887a5d9755110af182f5 (diff) | |
parent | 0416a0e6d80900b952f083ec31f8663ecab738b9 (diff) | |
download | CMake-4408382f198fdc61a010b707c063efd021b0e10a.zip CMake-4408382f198fdc61a010b707c063efd021b0e10a.tar.gz CMake-4408382f198fdc61a010b707c063efd021b0e10a.tar.bz2 |
Merge topic 'wince800'
0416a0e VS11: Add support for Windows CE SDKs
8fcf0ab Add support for new Windows CE compiler
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Windows-MSVC.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake index 1a2d3e9..685638a 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -141,8 +141,12 @@ if(WINCE) set(_RTC1 "") set(_FLAGS_CXX " /GR /EHsc") - set(CMAKE_C_STANDARD_LIBRARIES_INIT "coredll.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib") + 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) + set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib") + endif () else() set(_PLATFORM_DEFINES "/DWIN32") |