From 469c975a708ed86c834b59ed751a4548c693a7b9 Mon Sep 17 00:00:00 2001
From: 李威 wei.li <108964761+liwey1985@users.noreply.github.com>
Date: 周一, 21 4月 2025 15:34:54 +0800
Subject: [PATCH] Fix NSWindowProxy::setSystemButtonVisible not taking effect (#175)

---
 examples/qml/CMakeLists.txt |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
index 1755395..e99d23c 100644
--- a/examples/qml/CMakeLists.txt
+++ b/examples/qml/CMakeLists.txt
@@ -3,12 +3,8 @@
 file(GLOB _src *.h *.cpp *.qrc)
 
 qwk_add_example(${PROJECT_NAME}
+    FEATURES cxx_std_17
     SOURCES ${_src} ../shared/resources/shared.qrc
     QT_LINKS Core Gui Qml Quick
     LINKS QWKQuick
-)
-
-set_target_properties(${PROJECT_NAME} PROPERTIES
-    CXX_STANDARD 17
-    CXX_STANDARD_REQUIRED TRUE
 )
\ No newline at end of file

--
Gitblit v1.9.1