forked from fmtlib/fmt
Skip cmake targets inclusion if fmt::fmt already exists (#2907)
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
@PACKAGE_INIT@
|
@PACKAGE_INIT@
|
||||||
|
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake)
|
if (NOT TARGET fmt::fmt)
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake)
|
||||||
|
endif ()
|
||||||
|
|
||||||
check_required_components(fmt)
|
check_required_components(fmt)
|
||||||
|
Reference in New Issue
Block a user