Add fmt dep to cmake install

This commit is contained in:
gabime 2024-01-13 12:53:14 +02:00
parent 287d83acae
commit efa89d0880

View File

@ -354,7 +354,7 @@ if(SPDLOG_INSTALL)
# ---------------------------------------------------------------------------------------
install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" PATTERN "fmt/bundled" EXCLUDE)
install(
TARGETS spdlog
TARGETS spdlog fmt
EXPORT spdlog
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}