mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Skip cmake targets inclusion if fmt::fmt already exists (#2907)
This commit is contained in:
parent
ce246aaf74
commit
90b68783ff
@ -1,4 +1,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
if (NOT TARGET fmt::fmt)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake)
|
||||
endif ()
|
||||
|
||||
check_required_components(fmt)
|
||||
|
Loading…
Reference in New Issue
Block a user