Skip to content

Commit d0f9d8e

Browse files
authored
Merge pull request #33 from shiptux/fix/relax-fmt-version
fix: relax external fmt version requirement to 8.1.1
2 parents 5cc0a36 + f93bc7e commit d0f9d8e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ endif()
194194

195195
# --- fmtlib ---
196196
if(TRITON_JIT_USE_EXTERNAL_FMTLIB)
197-
find_package(fmt 10.2.1 REQUIRED)
197+
# Only fmt::format is used, so any fmt >= 8.1.1 works (the version
198+
# shipped by Ubuntu 22.04), no need to require 10.2.1.
199+
find_package(fmt 8.1.1 REQUIRED)
198200
else()
199201
github_url(FMT_URL "fmtlib/fmt/archive/refs/tags/10.2.1.tar.gz")
200202
FetchContent_Declare(fmt URL ${FMT_URL} DOWNLOAD_EXTRACT_TIMESTAMP ON)

0 commit comments

Comments
 (0)