From e2bf61cdf809034395a066507da71c97b2ccaaf2 Mon Sep 17 00:00:00 2001 From: Ferdinand Bachmann Date: Wed, 4 Mar 2026 01:43:53 +0100 Subject: [PATCH] Fix fmt-c.h not being installed with fmt-c library (#4694) Signed-off-by: Ferdinand Bachmann --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index afdd7462..ae0ba074 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -417,6 +417,9 @@ endif () target_link_libraries(fmt-c PUBLIC fmt::fmt) add_library(fmt::fmt-c ALIAS fmt-c) +set_target_properties(fmt-c PROPERTIES + PUBLIC_HEADER include/fmt/fmt-c.h) + # Install targets. if (FMT_INSTALL) include(CMakePackageConfigHelpers)