From 3990c9548902de425403788c2ce0ad885147fac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Sun, 10 Sep 2023 16:58:23 +0800 Subject: [PATCH] update --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 284ea970..13200b50 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,6 +37,9 @@ endforeach(filepath) if(QT_VERSION VERSION_GREATER_EQUAL "6.2") #删除fluentuiplugin.cpp与fluentuiplugin.h,这些只要Qt5使用,Qt6不需要 list(REMOVE_ITEM sources_files fluentuiplugin.h fluentuiplugin.cpp) + if (NOT FLUENTUI_BUILD_STATIC_LIB) + list(REMOVE_ITEM sources_files FluentUI.h FluentUI.cpp) + endif() #遍历所有qml文件 file(GLOB_RECURSE QML_PATHS *.qml)