From 2bb7b050fa98300bed12dba58ce3c1744b51b15c Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Fri, 30 Oct 2020 00:42:18 +0700 Subject: [PATCH] fix catch2 tag --- README.md | 12 +++++++++--- untests/CMakeLists.txt | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee5c829..8754776 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ [![license][badge.license]][license] [![paypal][badge.paypal]][paypal] -[badge.travis]: https://img.shields.io/travis/BlackMATov/invoke.hpp/master.svg?logo=travis -[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/invoke-hpp/master.svg?logo=appveyor -[badge.codecov]: https://img.shields.io/codecov/c/github/BlackMATov/invoke.hpp/master.svg?logo=codecov +[badge.travis]: https://img.shields.io/travis/BlackMATov/invoke.hpp/main.svg?logo=travis +[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/invoke-hpp/main.svg?logo=appveyor +[badge.codecov]: https://img.shields.io/codecov/c/github/BlackMATov/invoke.hpp/main.svg?logo=codecov [badge.language]: https://img.shields.io/badge/language-C%2B%2B11-red.svg [badge.license]: https://img.shields.io/badge/license-MIT-blue.svg [badge.paypal]: https://img.shields.io/badge/donate-PayPal-orange.svg?logo=paypal&colorA=00457C @@ -25,6 +25,12 @@ [invoke]: https://github.com/BlackMATov/invoke.hpp +## Requirements + +- [gcc](https://www.gnu.org/software/gcc/) **>= 4.9** +- [clang](https://clang.llvm.org/) **>= 3.8** +- [msvc](https://visualstudio.microsoft.com/) **>= 2015** + ## Installation [invoke.hpp][invoke] is a header-only library. All you need to do is copy the headers files from `headers` directory into your project and include them: diff --git a/untests/CMakeLists.txt b/untests/CMakeLists.txt index 00a10c7..733ea9d 100644 --- a/untests/CMakeLists.txt +++ b/untests/CMakeLists.txt @@ -40,7 +40,8 @@ add_test(${PROJECT_NAME} ${PROJECT_NAME}) include(FetchContent) FetchContent_Declare( catchorg_catch2 - GIT_REPOSITORY https://github.com/catchorg/catch2) + GIT_REPOSITORY https://github.com/catchorg/catch2 + GIT_TAG v2.13.2) FetchContent_GetProperties(catchorg_catch2) if(NOT catchorg_catch2_POPULATED)