diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2015-09-18 10:23:21 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-21 09:02:41 -0400 |
commit | 17009189f8bbf264b386bb610deafdd0d8ce53c2 (patch) | |
tree | cea48d39a3db1e2cd4a5741233dc7140e611839d /Source/cmake.version.manifest | |
parent | e3ace61212db5c960132ef0868f49cf05fe1c021 (diff) | |
download | cmake-17009189f8bbf264b386bb610deafdd0d8ce53c2.tar.gz |
Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8 (#15674)
According to GetVersionEx documentation:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451.aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241.aspx
we must manifest each application to explicitly declare support for each
version of Windows.
Diffstat (limited to 'Source/cmake.version.manifest')
-rw-r--r-- | Source/cmake.version.manifest | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmake.version.manifest b/Source/cmake.version.manifest new file mode 100644 index 0000000000..e7010c972e --- /dev/null +++ b/Source/cmake.version.manifest @@ -0,0 +1,18 @@ +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" + manifestVersion="1.0" + xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!-- Windows Vista --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> + <!-- Windows 7 --> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + <!-- Windows 8 --> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> + <!-- Windows 8.1 --> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> + <!-- Windows 10 --> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> + </application> + </compatibility> +</assembly> |