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(CPMExampleCatch2)
include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME fibonacci
GITHUB_REPOSITORY TheLartians/Fibonacci
VERSION 2.0
)
CPMAddPackage(
NAME Catch2
GITHUB_REPOSITORY catchorg/Catch2
VERSION 2.13.4
)
CPMAddPackage("gh:TheLartians/Fibonacci@2.0")
CPMAddPackage("gh:catchorg/Catch2@2.13.4")
# ---- Create binary ----