File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ cmake_minimum_required(VERSION 3.10...3.21)
55# ---------------------------------------------------------------------------------------
66# Start spdlog project
77# ---------------------------------------------------------------------------------------
8+ include ("cmake/HunterGate.cmake" )
9+ HunterGate (
10+ URL "https://github.com/cpp-pm/hunter/archive/v0.25.0.tar.gz"
11+ SHA1 "a1296b351dbfaf036c92d85c1bdb461f615849fa"
12+ )
813include (cmake/utils.cmake )
914include (cmake/ide.cmake )
1015
@@ -210,6 +215,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
210215# ---------------------------------------------------------------------------------------
211216if (SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
212217 if (NOT TARGET fmt::fmt)
218+ hunter_add_package (fmt )
213219 find_package (fmt CONFIG REQUIRED )
214220 endif ()
215221 target_compile_definitions (spdlog PUBLIC SPDLOG_FMT_EXTERNAL )
You can’t perform that action at this time.
0 commit comments