Browse Source

Download an archive of fmt instead of cloning it

Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
pull/1689/head
Jonathan Mercier-Ganady 5 years ago committed by Anders Jenbo
parent
commit
340d111963
  1. 4
      3rdParty/libfmt/CMakeLists.txt

4
3rdParty/libfmt/CMakeLists.txt vendored

@ -10,8 +10,8 @@ if(NOT DEVILUTIONX_SYSTEM_LIBFMT)
endif()
include(FetchContent)
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 7bdf0628b1276379886c7f6dda2cef2b3b374f0b
URL https://github.com/fmtlib/fmt/archive/7bdf0628b1276379886c7f6dda2cef2b3b374f0b.zip
URL_HASH MD5=70e0a0beda4bdac7debe60d380e1d802
)
FetchContent_MakeAvailableExcludeFromAll(fmt)
set(fmt_SOURCE_DIR ${fmt_SOURCE_DIR} PARENT_SCOPE)

Loading…
Cancel
Save