From a76806645aa749b96bbc5cd42271fece123ccd4e Mon Sep 17 00:00:00 2001 From: liangliang723 <690428592@qq.com> Date: Sat, 8 Apr 2023 19:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20windows=20?= =?UTF-8?q?=E4=B8=8B=E7=94=9F=E6=88=90=20dll=20=E5=BA=93=E5=B8=A6=20linux?= =?UTF-8?q?=20=E5=89=8D=E7=BC=80=E5=AF=BC=E8=87=B4=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 033168ed..7fc0339a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,6 +10,10 @@ set(QT_INSTALL_QML ${Qt6Core_DIR}/../../../qml) set(TARGET_TYPE SHARED) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/FluentUI) +if(WIN32) + set(CMAKE_SHARED_LIBRARY_PREFIX "") +endif() + set(TARGET_RESOURCES res.qrc) set(TARGET_SOURCES Def.cpp