mirror of
https://github.com/fmtlib/fmt.git
synced 2026-04-30 19:09:22 +08:00
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:
parent
e090e3ffad
commit
e2bf61cdf8
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user