From 83710cb96187d635be1be95ac1a2652c28d695cd Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 12 12月 2023 00:24:14 +0800
Subject: [PATCH] Add example icon

---
 examples/qml/CMakeLists.txt |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
index c638a6a..ed78439 100644
--- a/examples/qml/CMakeLists.txt
+++ b/examples/qml/CMakeLists.txt
@@ -1,17 +1,9 @@
 project(QWKExample_QML)
 
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTOUIC ON)
-set(CMAKE_AUTORCC ON)
-
 file(GLOB _src *.h *.cpp *.qrc)
 
-add_executable(${PROJECT_NAME})
-
-qm_configure_target(${PROJECT_NAME}
+qwk_add_example(${PROJECT_NAME}
     SOURCES ${_src}
     QT_LINKS Core Gui Qml Quick
     LINKS QWKQuick
-)
-
-qm_add_win_manifest(${PROJECT_NAME})
\ No newline at end of file
+)
\ No newline at end of file

--
Gitblit v1.9.1