mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-23 20:57:38 -05:00
update catch2 to 3.4.0 (#517)
This commit is contained in:
@@ -37,7 +37,7 @@ include(cmake/CPM.cmake)
|
|||||||
|
|
||||||
CPMAddPackage("gh:fmtlib/fmt#7.1.3")
|
CPMAddPackage("gh:fmtlib/fmt#7.1.3")
|
||||||
CPMAddPackage("gh:nlohmann/json@3.10.5")
|
CPMAddPackage("gh:nlohmann/json@3.10.5")
|
||||||
CPMAddPackage("gh:catchorg/Catch2@3.2.1")
|
CPMAddPackage("gh:catchorg/Catch2@3.4.0")
|
||||||
|
|
||||||
# link dependencies
|
# link dependencies
|
||||||
target_link_libraries(main fmt::fmt nlohmann_json::nlohmann_json Catch2::Catch2WithMain)
|
target_link_libraries(main fmt::fmt nlohmann_json::nlohmann_json Catch2::Catch2WithMain)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ project(CPMExampleCatch2)
|
|||||||
include(../../cmake/CPM.cmake)
|
include(../../cmake/CPM.cmake)
|
||||||
|
|
||||||
CPMAddPackage("gh:cpm-cmake/testpack-fibonacci@2.0")
|
CPMAddPackage("gh:cpm-cmake/testpack-fibonacci@2.0")
|
||||||
CPMAddPackage("gh:catchorg/Catch2@3.2.1")
|
CPMAddPackage("gh:catchorg/Catch2@3.4.0")
|
||||||
|
|
||||||
# ---- Create binary ----
|
# ---- Create binary ----
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user