mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
19 lines
474 B
CMake
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)
|