Fix fmt-c.h not being installed with fmt-c library (#4694)

Signed-off-by: Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>
This commit is contained in:
Ferdinand Bachmann 2026-03-04 01:43:53 +01:00 committed by GitHub
parent e090e3ffad
commit e2bf61cdf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -417,6 +417,9 @@ endif ()
target_link_libraries(fmt-c PUBLIC fmt::fmt) target_link_libraries(fmt-c PUBLIC fmt::fmt)
add_library(fmt::fmt-c ALIAS fmt-c) add_library(fmt::fmt-c ALIAS fmt-c)
set_target_properties(fmt-c PROPERTIES
PUBLIC_HEADER include/fmt/fmt-c.h)
# Install targets. # Install targets.
if (FMT_INSTALL) if (FMT_INSTALL)
include(CMakePackageConfigHelpers) include(CMakePackageConfigHelpers)