summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-02 13:58:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-02 13:58:17 (GMT)
commitd80161b08c7f858a222ac6d51262461e5ef7b507 (patch)
tree114ffd8aba8abed3b7670be7703f1077699f5a73 /Modules/CMakeDetermineCompilerId.cmake
parent8f545d950166f49bebf92d270d373e7cb98060b8 (diff)
parent3f077996f58ca905125fc2387614b24c68c6f09e (diff)
downloadCMake-d80161b08c7f858a222ac6d51262461e5ef7b507.zip
CMake-d80161b08c7f858a222ac6d51262461e5ef7b507.tar.gz
CMake-d80161b08c7f858a222ac6d51262461e5ef7b507.tar.bz2
Merge topic 'vs-win10-sdk'
3f077996 VS: Add support for selecting the Windows 10 SDK (#15670) 5dfc4c5f VS: Add hook to initialize Windows platform settings 61c472a2 cmSystemTools: Add VersionCompareGreater helper
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index 591ecb8..2e74100 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -210,6 +210,9 @@ Id flags: ${testflags}
else()
set(id_system_version "")
endif()
+ if(CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION)
+ set(id_WindowsTargetPlatformVersion "<WindowsTargetPlatformVersion>${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}</WindowsTargetPlatformVersion>")
+ endif()
if(id_platform STREQUAL ARM)
set(id_WindowsSDKDesktopARMSupport "<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>")
else()