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(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 ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user