File tree Expand file tree Collapse file tree 2 files changed +543
-0
lines changed
Expand file tree Collapse file tree 2 files changed +543
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ cmake_minimum_required(VERSION 3.10)
55# ---------------------------------------------------------------------------------------
66# Start spdlog project
77# ---------------------------------------------------------------------------------------
8+ include ("cmake/HunterGate.cmake" )
9+ HunterGate(
10+ URL "https://github.com/cpp-pm/hunter/archive/v0.23.322.tar.gz"
11+ SHA1 "cb0ea1f74f4a2c49a807de34885743495fccccbe"
12+ )
813include (cmake/utils.cmake)
914include (cmake/ide.cmake)
1015
@@ -190,6 +195,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
190195# ---------------------------------------------------------------------------------------
191196if (SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
192197 if (NOT TARGET fmt::fmt)
198+ hunter_add_package(fmt)
193199 find_package (fmt CONFIG REQUIRED)
194200 endif ()
195201 target_compile_definitions (spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
You can’t perform that action at this time.
0 commit comments