mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-16 22:27:41 -05:00
update examples to use new syntax where possible (#218)
This commit is contained in:
@@ -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 ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user