The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15674 
====================================================================== 
Reported By:                Christian Maaser
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15674
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2015-07-30 12:36 EDT
Last Modified:              2015-07-30 12:36 EDT
====================================================================== 
Summary:                    Windows: Correctly determine Windows version for
CMAKE_HOST_SYSTEM_VERSION
Description: 
cmake is currently using the deprecated Windows API function GetVersionEx, which
reports wrong information for versions later than WindowsXP. Instead, cmake
should make use of RtlGetVersion, which works as expected on all versions of
Windows (since Windows 2000).

Steps to Reproduce: 
Compare ${CMAKE_HOST_SYSTEM_VERSION} with the output of the "ver" console
command.

Additional Information: 
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/hardware/ff561910(v=vs.85).aspx
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-07-30 12:36 Christian MaaserNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to