From adb46e1e151b73e56a7e0066a896b48b92a7230e Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周五, 22 12月 2023 21:44:10 +0800
Subject: [PATCH] win: use modern API

---
 src/quick/CMakeLists.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/quick/CMakeLists.txt b/src/quick/CMakeLists.txt
index 1d61653..9389c8b 100644
--- a/src/quick/CMakeLists.txt
+++ b/src/quick/CMakeLists.txt
@@ -13,6 +13,10 @@
     quickwindowagent.cpp
 )
 
+if(WIN32)
+    list(APPEND _src quickwindowagent_win.cpp)
+endif()
+
 qwk_add_library(${PROJECT_NAME} AUTOGEN
     SOURCES ${_src}
     LINKS QWKCore

--
Gitblit v1.9.1