mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 18:41:35 +08:00
Fix spdlogConfig.cmake.in
This commit is contained in:
parent
26b6461b24
commit
83d274eb55
@ -7,10 +7,12 @@ include(CMakeFindDependencyMacro)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
set(SPDLOG_FMT_EXTERNAL @SPDLOG_FMT_EXTERNAL@)
|
||||
set(config_targets_file @config_targets_file@)
|
||||
find_dependency(fmt CONFIG)
|
||||
set(SPDLOG_USE_STD_FORMAT @SPDLOG_USE_STD_FORMAT@)
|
||||
if(NOT SPDLOG_USE_STD_FORMAT)
|
||||
find_dependency(fmt CONFIG)
|
||||
endif()
|
||||
|
||||
set(config_targets_file @config_targets_file@)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}")
|
||||
|
||||
check_required_components(spdlog)
|
||||
|
Loading…
Reference in New Issue
Block a user