diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-27 16:07:30 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:53 +0200 |
commit | 6964d48c970e5f7b11897096c816271785af23ac (patch) | |
tree | df9e50fbe167de4aed9df1bef8e395a28109c344 /lib | |
parent | 2bcf699b9e11ccf848393882257fc3986bd28e45 (diff) |
build: add fmt library dependency
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 8 | ||||
-rw-r--r-- | lib/fmt/CMakeLists.txt | 3 |
2 files changed, 11 insertions, 0 deletions
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) |