From 55f5f21e4cd428b151cde9e051a666159ad24f0a Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Thu, 21 Apr 2022 00:45:19 -0700 Subject: [PATCH] CMake fix for WIC2 usage on Win7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5b2dd7..6c326c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -355,7 +355,7 @@ if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00) else() message("INFO: Building with Windows 7 compatibility") - target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601) + target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601 _WIN7_PLATFORM_UPDATE) endif() endif()