mirror of
https://github.com/fmtlib/fmt.git
synced 2026-07-30 16:26:27 +08:00
parent
6dac6cad05
commit
ee0d40e714
@ -506,10 +506,7 @@ if (FMT_INSTALL)
|
||||
|
||||
# Use a namespace because CMake provides better diagnostics for namespaced
|
||||
# imported targets.
|
||||
export(
|
||||
TARGETS ${INSTALL_TARGETS}
|
||||
NAMESPACE fmt::
|
||||
FILE ${PROJECT_BINARY_DIR}/${targets_export_name}.cmake)
|
||||
|
||||
|
||||
# Install version, config and target files.
|
||||
install(
|
||||
@ -528,6 +525,11 @@ if (FMT_INSTALL)
|
||||
COMPONENT fmt_core)
|
||||
endif ()
|
||||
|
||||
export(
|
||||
TARGETS ${INSTALL_TARGETS}
|
||||
NAMESPACE fmt::
|
||||
FILE ${PROJECT_BINARY_DIR}/${targets_export_name}.cmake)
|
||||
|
||||
function (add_doc_target)
|
||||
find_program(DOXYGEN doxygen PATHS "$ENV{ProgramFiles}/doxygen/bin"
|
||||
"$ENV{ProgramFiles\(x86\)}/doxygen/bin")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user