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@
|
|
|
|
|
2019-05-19 20:47:49 +08:00
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
|
|
|
set(SPDLOG_FMT_EXTERNAL @SPDLOG_FMT_EXTERNAL@)
|
2022-03-06 23:52:09 +08:00
|
|
|
set(SPDLOG_FMT_EXTERNAL_HO @SPDLOG_FMT_EXTERNAL_HO@)
|
2019-05-19 20:47:49 +08:00
|
|
|
set(config_targets_file @config_targets_file@)
|
|
|
|
|
2022-03-06 23:52:09 +08:00
|
|
|
if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
|
2019-05-19 20:47:49 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(fmt CONFIG)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
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)
|