mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-19 07:37:42 -05:00
[Example] Disable JSON tests being included in ctest (#329)
* Disable JSON tests being included in ctest If `CPMAddPackage` includes json without setting JSON_BuildTests off first then the target's ctest will include lots of json's tests. * Bump example JSON version to avoid JSON tests
This commit is contained in:
@@ -5,7 +5,7 @@ project(CPMJSONExample)
|
||||
# ---- Dependencies ----
|
||||
|
||||
include(../../cmake/CPM.cmake)
|
||||
CPMAddPackage("gh:nlohmann/json@3.9.1")
|
||||
CPMAddPackage("gh:nlohmann/json@3.10.5")
|
||||
|
||||
# ---- Executable ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user