1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-29 12:03:53 +00:00

Fix spdlogConfig.cmake.in

This commit is contained in:
gabime 2024-01-13 15:55:05 +02:00
parent 26b6461b24
commit 83d274eb55

View File

@ -7,10 +7,12 @@ include(CMakeFindDependencyMacro)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
set(SPDLOG_FMT_EXTERNAL @SPDLOG_FMT_EXTERNAL@) set(SPDLOG_USE_STD_FORMAT @SPDLOG_USE_STD_FORMAT@)
set(config_targets_file @config_targets_file@) if(NOT SPDLOG_USE_STD_FORMAT)
find_dependency(fmt CONFIG) find_dependency(fmt CONFIG)
endif()
set(config_targets_file @config_targets_file@)
include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}") include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}")
check_required_components(spdlog) check_required_components(spdlog)