Update dependency management
This commit is contained in:
14
3rdParty/fmt/CMakeLists.txt
vendored
Normal file
14
3rdParty/fmt/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED FMT_REPO)
|
||||
set(FMT_REPO https://github.com/fmtlib/fmt)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
fmt
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY ${FMT_REPO}
|
||||
GIT_TAG 10.1.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(fmt)
|
||||
Reference in New Issue
Block a user