Testing confirms successful builds with fmt 11.1.4, which is currently
packaged in Fedora 42. This change relaxes the fmt version constraints
to improve compatibility with Fedora 42 and other distributions shipping
this version of fmt-devel.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
option(WITH_FMT_HEADER_ONLY "use header-only version of fmt library" OFF)
option(WITH_SYSTEM_FMT "build against system fmt" OFF)
if(WITH_SYSTEM_FMT)
- find_package(fmt 8.1.1...<10.0.0 REQUIRED)
+ find_package(fmt 8.1.1...11.1.4 REQUIRED)
endif()
if (WITH_FMT_HEADER_ONLY)
message(STATUS "Using fmt header-only.")