# C++ type-safe string formatting
# https://github.com/jarro2783/fmt

include(FetchContent)

FetchContent_Declare(fmt
  URL     ${CMAKE_CURRENT_LIST_DIR}/fmt-6.2.1.zip
  URL_MD5 0e075736c66f16ec1a121e1cd4f975b6
)

FetchContent_GetProperties(fmt)
if(NOT fmt_POPULATED)
  FetchContent_Populate(fmt)

  add_subdirectory(${fmt_SOURCE_DIR} ${fmt_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
