From 6964d48c970e5f7b11897096c816271785af23ac Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 27 Feb 2022 16:07:30 +0100 Subject: build: add fmt library dependency --- lib/CMakeLists.txt | 8 ++++++++ lib/fmt/CMakeLists.txt | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 lib/fmt/CMakeLists.txt (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 16c32fd..58dfd29 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -7,3 +7,11 @@ FetchContent_Declare( ) add_subdirectory(ctre) + +FetchContent_Declare( + fmt + GIT_REPOSITORY "https://github.com/fmtlib/fmt" + GIT_TAG 8.1.1 +) + +add_subdirectory(fmt) diff --git a/lib/fmt/CMakeLists.txt b/lib/fmt/CMakeLists.txt new file mode 100644 index 0000000..d3f9f25 --- /dev/null +++ b/lib/fmt/CMakeLists.txt @@ -0,0 +1,3 @@ +message(STATUS "Fetching fmt...") + +FetchContent_MakeAvailable(fmt) -- cgit v1.2.3-18-g5258