Skip to content

Commit

Permalink
Use line-tables-only debug information format on macOS.
Browse files Browse the repository at this point in the history
Otherwise linking fails on x86_64 in Release mode.
  • Loading branch information
john-preston committed Mar 13, 2024
1 parent 5573bbc commit f13971d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Telegram/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<IF:$<CONFIG:Debug>,default,line-tables-only>
)
set(entitlement_sources
"${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements"
Expand Down

0 comments on commit f13971d

Please sign in to comment.