foundationdb/cmake/GetFmt.cmake

12 lines
227 B
CMake

find_package(fmt 11.1.4 EXACT CONFIG)
if(NOT fmt_FOUND)
include(FetchContent)
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 11.1.4
)
FetchContent_MakeAvailable(fmt)
endif()