2019-05-19 20:47:49 +08:00
|
|
|
# Copyright(c) 2019 spdlog authors
|
|
|
|
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
|
|
|
|
2021-08-04 21:47:18 +08:00
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
2024-01-13 18:56:18 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
2019-05-19 20:47:49 +08:00
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
2024-01-13 21:55:05 +08:00
|
|
|
set(SPDLOG_USE_STD_FORMAT @SPDLOG_USE_STD_FORMAT@)
|
|
|
|
if(NOT SPDLOG_USE_STD_FORMAT)
|
|
|
|
find_dependency(fmt CONFIG)
|
|
|
|
endif()
|
2019-05-19 20:47:49 +08:00
|
|
|
|
2024-01-13 21:55:05 +08:00
|
|
|
set(config_targets_file @config_targets_file@)
|
2019-05-19 20:47:49 +08:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}")
|
2021-08-04 21:47:18 +08:00
|
|
|
|
2022-03-06 23:52:09 +08:00
|
|
|
check_required_components(spdlog)
|