update CPM.cmake and use new shorthand syntax (#87)
This commit is contained in:
parent
573663dc15
commit
27c17d63cf
4 changed files with 6 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue