From: Joel Rosdahl Date: Mon, 9 Jun 2025 15:08:25 +0000 (+0200) Subject: build: Use bundled fmt if DEPS=DOWNLOAD as documented X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4aaa1aba87fa7b64c00e0a595e6fdae4a43e0389;p=thirdparty%2Fccache.git build: Use bundled fmt if DEPS=DOWNLOAD as documented --- diff --git a/cmake/FindFmt.cmake b/cmake/FindFmt.cmake index 7c39291e..3fa32f56 100644 --- a/cmake/FindFmt.cmake +++ b/cmake/FindFmt.cmake @@ -1,6 +1,6 @@ mark_as_advanced(FMT_INCLUDE_DIR FMT_LIBRARY) -if(DEP_FMT STREQUAL "BUNDLED") +if(DEPS STREQUAL "DOWNLOAD" OR DEP_FMT STREQUAL "BUNDLED") message(STATUS "Using bundled Fmt as requested") else() find_path(FMT_INCLUDE_DIR NAMES fmt/base.h fmt/core.h)