From b0edf23f331e6e39a705f2e977d738d666fe5b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Sat, 30 Dec 2023 21:10:49 +0800 Subject: [PATCH] update --- example/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index d70b69ba..0e6b3ce5 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -9,6 +9,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) #导入exmaple的QML位置,不然import example有时候会爆红 set(QML_IMPORT_PATH ${CMAKE_BINARY_DIR}/example CACHE STRING "Qt Creator extra QML import paths" FORCE) +if(APPLE) + set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf") + set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Release] "dwarf") +endif() + #判断FluentUI库类型 if(FLUENTUI_BUILD_STATIC_LIB) add_definitions(-DFLUENTUI_BUILD_STATIC_LIB)