From 64ed6b495c910e0a47d9357618f25dccb7d1af6e Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 8 Jul 2023 13:44:27 +0300 Subject: [PATCH] Revert "Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt" This reverts commit c3fa8f60e2aa6fd6257016436794c024c360cec8. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9902fdf7..6556144b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})