This repository has been archived on 2025-03-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mqttd/cmake/GetSpdlog.cmake
brenodetomini 91e34f07dc feat: tests and libs
Adding unit test for Variable Byte integer
Adding libunwind, spdlog and Catch2
2024-01-23 09:37:57 -03:00

12 lines
218 B
CMake

include(FetchContent)
FetchContent_Declare(
spdlog
GIT_REPOSITORY https://github.com/gabime/spdlog
GIT_TAG v1.x
)
FetchContent_MakeAvailable(spdlog)
list(APPEND CMAKE_MODULE_PATH ${spdlog_SOURCE_DIR}/extras)