summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-26 12:51:27 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-09-26 12:51:27 (GMT)
commit46ea14718c1753e999ebe0a951420df1aa7199f5 (patch)
tree505466d29c3de7230d749cdd2b10e471f7302eda
parentb89cedd112ec6767e366f11837719915971761df (diff)
parent8bb3b3d344b6bf49bf5ba05fa90faedce72378a5 (diff)
downloadCMake-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.cmake6
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()