From bdc57c6ec9b08f74ca65a06b8496fbaa3268c5fd Mon Sep 17 00:00:00 2001
From: Dylan Liu <mentalflow@ourdocs.cn>
Date: 周六, 04 5月 2024 20:51:20 +0800
Subject: [PATCH] Fix macOS title bar buttons not displaying properly.

---
 src/core/CMakeLists.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index fb059bc..9abe22e 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -29,6 +29,7 @@
         qwindowkit_windows.h
         qwindowkit_windows.cpp
         shared/qwkwindowsextra_p.h
+        shared/windows10borderhandler_p.h
     )
 elseif(APPLE)
 else()
@@ -84,7 +85,7 @@
         list(APPEND _src style/styleagent_linux.cpp)
     endif()
 else()
-    list(APPEND _sync_include_options EXCLUDE "style/\\.+")
+    list(APPEND _sync_include_options EXCLUDE "src/core/style/\\.+")
 endif()
 
 qwk_add_library(${PROJECT_NAME} AUTOGEN
@@ -93,7 +94,7 @@
     LINKS_PRIVATE ${_links_private}
     QT_LINKS Core Gui
     QT_INCLUDE_PRIVATE Core Gui
-    INCLUDE_PRIVATE kernel contexts shared
+    INCLUDE_PRIVATE *
     PREFIX QWK_CORE
     SYNC_INCLUDE_OPTIONS ${_sync_include_options}
 )

--
Gitblit v1.9.1