spdlog/cmake/spdlogConfig.cmake.in

19 lines
474 B
CMake
Raw Normal View History

# Copyright(c) 2019 spdlog authors
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
@PACKAGE_INIT@
2024-01-13 18:56:18 +08:00
include(CMakeFindDependencyMacro)
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()
2024-01-13 21:55:05 +08:00
set(config_targets_file @config_targets_file@)
include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}")
check_required_components(spdlog)