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:
committed by
GitHub
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user