Merge topic 'wince-subsystem'

8bb3b3d VS: Use version-specific subsystem for WinCE compiler id (#14440)
This commit is contained in:
Brad King 2013-09-26 08:51:27 -04:00 committed by CMake Topic Stage
commit 46ea14718c

View File

@ -133,7 +133,11 @@ Id flags: ${testflags}
endif()
if(CMAKE_VS_WINCE_VERSION)
set(id_entrypoint "mainACRTStartup")
set(id_subsystem 9)
if("${vs_version}" VERSION_LESS 9)
set(id_subsystem 9)
else()
set(id_subsystem 8)
endif()
else()
set(id_subsystem 1)
endif()