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/GetCatch2.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
226 B
CMake

include(FetchContent)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.5.2
)
FetchContent_MakeAvailable(Catch2)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)