Merge topic 'wince-corelibc'
e63cf5f
MSVC: Fix version test for linking corelibc on Windows CE (#14420)
This commit is contained in:
commit
faef6b4ec8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue