FMT_EXPORT -> FMT_LIB_EXPORT

This commit is contained in:
Victor Zverovich
2023-04-10 08:24:23 -07:00
parent 4a4a2a2bd6
commit 4613d48fd3
2 changed files with 3 additions and 3 deletions

View File

@@ -256,7 +256,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
endif ()
if (BUILD_SHARED_LIBS)
target_compile_definitions(fmt PRIVATE FMT_EXPORT INTERFACE FMT_SHARED)
target_compile_definitions(fmt PRIVATE FMT_LIB_EXPORT INTERFACE FMT_SHARED)
endif ()
if (FMT_SAFE_DURATION_CAST)
target_compile_definitions(fmt PUBLIC FMT_SAFE_DURATION_CAST)