spdlog/cmake/spdlogConfig.cmake.in
2024-01-13 15:55:05 +02:00

19 lines
474 B
CMake

# Copyright(c) 2019 spdlog authors
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_package(Threads REQUIRED)
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)