Skip to content

Commit

Permalink
Merge pull request #11123 from Pokechu22/fmt-9.1.0
Browse files Browse the repository at this point in the history
Externals: Update fmt to 9.1.0
  • Loading branch information
lioncash authored Nov 23, 2022
2 parents ddf63ba + f5d11c1 commit d6437b7
Show file tree
Hide file tree
Showing 57 changed files with 2,749 additions and 2,142 deletions.
8 changes: 1 addition & 7 deletions Externals/fmt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ endfunction()

# Define the fmt library, its includes and the needed defines.
add_headers(FMT_HEADERS args.h chrono.h color.h compile.h core.h format.h
format-inl.h locale.h os.h ostream.h printf.h ranges.h
format-inl.h os.h ostream.h printf.h ranges.h std.h
xchar.h)
if (FMT_MODULE)
set(FMT_SOURCES src/fmt.cc)
Expand Down Expand Up @@ -263,12 +263,6 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
endif ()

if (BUILD_SHARED_LIBS)
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" AND
NOT EMSCRIPTEN)
# Fix rpmlint warning:
# unused-direct-shlib-dependency /usr/lib/libformat.so.1.1.0 /lib/libm.so.6.
target_link_libraries(fmt -Wl,--as-needed)
endif ()
target_compile_definitions(fmt PRIVATE FMT_EXPORT INTERFACE FMT_SHARED)
endif ()
if (FMT_SAFE_DURATION_CAST)
Expand Down
Loading

0 comments on commit d6437b7

Please sign in to comment.