diff options
author | Brad King <brad.king@kitware.com> | 2013-09-26 12:51:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-09-26 12:51:27 (GMT) |
commit | 46ea14718c1753e999ebe0a951420df1aa7199f5 (patch) | |
tree | 505466d29c3de7230d749cdd2b10e471f7302eda | |
parent | b89cedd112ec6767e366f11837719915971761df (diff) | |
parent | 8bb3b3d344b6bf49bf5ba05fa90faedce72378a5 (diff) | |
download | CMake-46ea14718c1753e999ebe0a951420df1aa7199f5.zip CMake-46ea14718c1753e999ebe0a951420df1aa7199f5.tar.gz CMake-46ea14718c1753e999ebe0a951420df1aa7199f5.tar.bz2 |
Merge topic 'wince-subsystem'
8bb3b3d VS: Use version-specific subsystem for WinCE compiler id (#14440)
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index ebd9ce0..8ca5334 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -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() |