]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build: Use bundled fmt if DEPS=DOWNLOAD as documented
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 9 Jun 2025 15:08:25 +0000 (17:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 9 Jun 2025 15:08:25 +0000 (17:08 +0200)
cmake/FindFmt.cmake

index 7c39291eca2f0b0f69d76ef5aa65e80e3810798d..3fa32f56d43be06445895f5cd3864e413ca0f170 100644 (file)
@@ -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)