From 6bf38b5e5ebf32a425df450ed8495436e55e7540 Mon Sep 17 00:00:00 2001 From: LiangLiang Date: Thu, 13 Apr 2023 15:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E9=87=8D=E6=9E=84=20FluWindow?= =?UTF-8?q?=20=E5=90=8E=20CMakeLists=20=E5=81=9A=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/CMakeLists.txt | 2 ++ src/CMakeLists.txt | 9 ++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 4c4f526..9566cc3 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -25,11 +25,13 @@ find_package(Qt6 COMPONENTS Core Quick QuickControls2 Concurrent Network Multime set(SOURCES ChatController.cpp + AppInfo.cpp main.cpp ) set(HEADERS ChatController.h + AppInfo.h ) set(RESOURCES diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7fc0339..468a6a4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,6 +24,7 @@ set(TARGET_SOURCES FluTheme.cpp Fluent.cpp FluentUI.cpp + NativeEventFilter.cpp WindowHelper.cpp qml_plugin.cpp ) @@ -37,18 +38,12 @@ set(TARGET_HEADERS FluTheme.h Fluent.h FluentUI.h - FramelessView.h + NativeEventFilter.h WindowHelper.h qml_plugin.h stdafx.h ) -if(WIN32) - set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_win.cpp) -else() - set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_unix.cpp) -endif() - add_definitions(-DVERSION_IN="1.0.0") add_definitions(-DVURI_STR="FluentUI")