Commit 46ea1471 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'wince-subsystem'

8bb3b3d3 VS: Use version-specific subsystem for WinCE compiler id (#14440)
parents b89cedd1 8bb3b3d3
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment