1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-05 16:31:01 +02:00

update CPM.cmake and use new shorthand syntax

This commit is contained in:
Lars Melchior 2021-02-22 21:33:35 +01:00
parent 573663dc15
commit f044b33740
4 changed files with 6 additions and 19 deletions

View file

@ -15,11 +15,7 @@ include(../cmake/tools.cmake)
include(../cmake/CPM.cmake)
CPMAddPackage(
NAME doctest
GITHUB_REPOSITORY onqtam/doctest
GIT_TAG 2.4.5
)
CPMAddPackage("gh:onqtam/doctest#2.4.5")
if(TEST_INSTALLED_VERSION)
find_package(Greeter REQUIRED)