From f13971dce177c5049b95e0977a74509e280f8754 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 13 Mar 2024 09:20:12 +0400 Subject: [PATCH] Use line-tables-only debug information format on macOS. Otherwise linking fails on x86_64 in Release mode. --- Telegram/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 9285d5ad2..723c837a2 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1754,6 +1754,7 @@ set_target_properties(Telegram PROPERTIES XCODE_ATTRIBUTE_ALWAYS_SEARCH_USER_PATHS NO XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY libc++ XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS --deep + XCODE_ATTRIBUTE_CLANG_DEBUG_INFORMATION_LEVEL $,default,line-tables-only> ) set(entitlement_sources "${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements"