diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2015-09-18 14:23:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-21 13:02:41 (GMT) |
commit | 17009189f8bbf264b386bb610deafdd0d8ce53c2 (patch) | |
tree | cea48d39a3db1e2cd4a5741233dc7140e611839d /Source/QtDialog | |
parent | e3ace61212db5c960132ef0868f49cf05fe1c021 (diff) | |
download | CMake-17009189f8bbf264b386bb610deafdd0d8ce53c2.zip CMake-17009189f8bbf264b386bb610deafdd0d8ce53c2.tar.gz CMake-17009189f8bbf264b386bb610deafdd0d8ce53c2.tar.bz2 |
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/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 570b537..66fd18b 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -152,7 +152,7 @@ endif() set(CMAKE_INCLUDE_CURRENT_DIR ON) -add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS}) +add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS} ${MANIFEST_FILE}) target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${CMake_QT_LIBRARIES}) if(APPLE) |