Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryan-rsm-mckenzie <ryan__mckenzie@hotmail.com>2020-12-27 12:37:12 +0300
committerryan-rsm-mckenzie <ryan__mckenzie@hotmail.com>2020-12-27 12:37:12 +0300
commit3d8f71c4d23fd2df08e4f6284155958b0df47b33 (patch)
treea4e0ac027cba335c2d867b2f455d80b661956d27 /CMakeLists.txt
parent6aaaabbc4d784423cb58a13a088d6feca34614fb (diff)
skip module mode when finding fmt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ee66976..97c74157 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,7 +172,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
# ---------------------------------------------------------------------------------------
if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
if(NOT TARGET fmt::fmt)
- find_package(fmt 5.3.0 REQUIRED)
+ find_package(fmt 5.3.0 CONFIG REQUIRED)
endif()
target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)