update examples to use new syntax where possible (#218)

This commit is contained in:
Lars Melchior
2021-02-23 07:14:32 +01:00
committed by GitHub
parent 3f6cbe7383
commit 492e762591
8 changed files with 13 additions and 50 deletions

View File

@@ -6,17 +6,8 @@ project(CPMExampleDoctest)
include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME fibonacci
GITLAB_REPOSITORY TheLartians/Fibonacci
VERSION 2.0
)
CPMAddPackage(
NAME doctest
GITHUB_REPOSITORY onqtam/doctest
GIT_TAG 2.4.5
)
CPMAddPackage("gh:TheLartians/Fibonacci@2.0")
CPMAddPackage("gh:onqtam/doctest#2.4.5")
# ---- Create binary ----