mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 13:41:13 +02:00
modernize cmake packages (#149)
This commit is contained in:
parent
2b5d0934c1
commit
b3007ae14a
6 changed files with 11 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.14...3.22)
|
||||
|
||||
project(GreeterTests LANGUAGES CXX)
|
||||
|
||||
|
@ -15,8 +15,8 @@ include(../cmake/tools.cmake)
|
|||
|
||||
include(../cmake/CPM.cmake)
|
||||
|
||||
CPMAddPackage("gh:onqtam/doctest#2.4.5")
|
||||
CPMAddPackage("gh:TheLartians/Format.cmake@1.7.0")
|
||||
CPMAddPackage("gh:onqtam/doctest@2.4.8")
|
||||
CPMAddPackage("gh:TheLartians/Format.cmake@1.7.3")
|
||||
|
||||
if(TEST_INSTALLED_VERSION)
|
||||
find_package(Greeter REQUIRED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue