From 7966371dead9076db6c56de4074b36d6f628678b Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周五, 14 3月 2025 17:35:50 +0800
Subject: [PATCH] AWC: remove isEnabled in test methods

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

diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt
index 24d2eab..644e733 100644
--- a/examples/mainwindow/CMakeLists.txt
+++ b/examples/mainwindow/CMakeLists.txt
@@ -3,12 +3,8 @@
 file(GLOB _src *.h *.cpp)
 
 qwk_add_example(${PROJECT_NAME}
+    FEATURES cxx_std_17
     SOURCES ${_src} mainwindow.qrc ../shared/resources/shared.qrc
     QT_LINKS Core Gui Widgets # MultimediaWidgets
     LINKS QWKWidgets WidgetFrame
-)
-
-set_target_properties(${PROJECT_NAME} PROPERTIES
-    CXX_STANDARD 17
-    CXX_STANDARD_REQUIRED TRUE
 )
\ No newline at end of file

--
Gitblit v1.9.1