diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-12-15 15:59:09 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-12-15 16:09:46 +1000 |
commit | e25f116d182b7c639db740937bcd2509c8268fa9 (patch) | |
tree | 1aa188fd754b9a223a2d2e8d25017c5e19579767 /cmake/modules/FindSpdlog.cmake | |
parent | 5dad2af01008c1ea9c7e601b869fe977bd538247 (diff) |
[cmake] Findspdlog ENABLE_INTERNAL_SPDLOG min fmt lib required
Diffstat (limited to 'cmake/modules/FindSpdlog.cmake')
-rw-r--r-- | cmake/modules/FindSpdlog.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/FindSpdlog.cmake b/cmake/modules/FindSpdlog.cmake index 46663602a5..6df9f64645 100644 --- a/cmake/modules/FindSpdlog.cmake +++ b/cmake/modules/FindSpdlog.cmake @@ -56,6 +56,9 @@ if(ENABLE_INTERNAL_SPDLOG) if(ENABLE_INTERNAL_FMT) add_dependencies(spdlog fmt) + else() + # spdlog 1.9.2 fails to build with fmt < 8.0.0 + find_package(fmt 8.0.0 CONFIG REQUIRED QUIET) endif() else() find_package(spdlog 1.5.0 CONFIG REQUIRED QUIET) |