Skip to content

Commit

Permalink
libfmt: FMT_BUILTIN_TYPES=0 on rg99
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Oct 5, 2024
1 parent 90227b1 commit ab5930b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 3rdParty/libfmt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ FetchContent_MakeAvailableExcludeFromAll(libfmt)
if(DEVILUTIONX_WINDOWS_NO_WCHAR)
target_compile_definitions(fmt PUBLIC FMT_USE_WRITE_CONSOLE)
endif()

# Reduces the overall binary size by 8 KiB.
if(TARGET_PLATFORM STREQUAL "rg99")
target_compile_definitions(fmt PUBLIC FMT_BUILTIN_TYPES=0)
endif()

0 comments on commit ab5930b

Please sign in to comment.