mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-04 19:56:46 +08:00
Fixed spdlogConfig.cmake.in fmt dep
This commit is contained in:
parent
efa89d0880
commit
3834b911cd
@ -3,16 +3,13 @@
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
set(SPDLOG_FMT_EXTERNAL @SPDLOG_FMT_EXTERNAL@)
|
||||
set(config_targets_file @config_targets_file@)
|
||||
|
||||
if(SPDLOG_FMT_EXTERNAL)
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(fmt CONFIG)
|
||||
endif()
|
||||
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user