From da720afc7eea275ca344ac8bc2c7a154146c0b9e Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Wed, 17 Jul 2024 10:09:02 +0100 Subject: [PATCH] imager: Target Windows 10, as required by Qt6 --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 11481a9..fb36c53 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -271,8 +271,8 @@ endif() # Because dependencies are typically not available by default on Windows, build bundled code if (WIN32) - # Target Windows 7 (needed for drivelist module) - add_definitions(-DWINVER=0x0601 -D_WIN32_WINNT=0x0601) + # Target Windows 10, in line with Qt requirements + add_definitions(-DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -DNTDDI_VERION=0x0A000000) find_package(OpenSSL REQUIRED)