Gabime/visibilty-hidden 2.x (#3324)

Set CMAKE_CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN when build shared lib
This commit is contained in:
Gabi Melman
2025-01-18 13:36:01 +02:00
committed by GitHub
parent e3f8349d0c
commit 2abfa1628b
6 changed files with 27 additions and 15 deletions

View File

@@ -142,4 +142,4 @@ bool rotating_file_sink<Mutex>::rename_file_(const filename_t &src_filename, con
// template instantiations
#include "spdlog/details/null_mutex.h"
template class SPDLOG_API spdlog::sinks::rotating_file_sink<std::mutex>;
template class SPDLOG_API spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;
template class SPDLOG_API spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;