Skip to content

Commit

Permalink
Revert "Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt"
Browse files Browse the repository at this point in the history
This reverts commit c3fa8f6.
  • Loading branch information
gabime committed Jul 8, 2023
1 parent 4338b9c commit 64ed6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if(SPDLOG_BUILD_SHARED OR BUILD_SHARED_LIBS)
/wd4275>)
endif()
if(NOT SPDLOG_USE_STD_FORMAT AND NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
target_compile_definitions(spdlog PRIVATE FMT_LIB_EXPORT PUBLIC FMT_SHARED)
target_compile_definitions(spdlog PRIVATE FMT_EXPORT PUBLIC FMT_SHARED)
endif()
else()
add_library(spdlog STATIC ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
Expand Down

0 comments on commit 64ed6b4

Please sign in to comment.