Skip to content
Snippets Groups Projects
Commit 80238a25 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cpm] Use local packages for spdlog tclap and nlohmann-json if found.

parent 770209ab
No related merge requests found
...@@ -49,9 +49,9 @@ if(exprtk_ADDED) ...@@ -49,9 +49,9 @@ if(exprtk_ADDED)
target_include_directories(exprtk SYSTEM INTERFACE ${exprtk_SOURCE_DIR}) target_include_directories(exprtk SYSTEM INTERFACE ${exprtk_SOURCE_DIR})
endif() endif()
CPMAddPackage(NAME spdlog GITHUB_REPOSITORY gabime/spdlog VERSION 1.8.2) CPMFindPackage(NAME spdlog GITHUB_REPOSITORY gabime/spdlog VERSION 1.8.2)
CPMAddPackage( CPMFindPackage(
NAME tclap NAME tclap
GITHUB_REPOSITORY ufz/tclap GITHUB_REPOSITORY ufz/tclap
VERSION 1.2.4 VERSION 1.2.4
...@@ -272,7 +272,7 @@ if(OGS_BUILD_SWMM) ...@@ -272,7 +272,7 @@ if(OGS_BUILD_SWMM)
endif() endif()
endif() endif()
CPMAddPackage( CPMFindPackage(
NAME nlohmann_json NAME nlohmann_json
VERSION 3.6.1 VERSION 3.6.1
# the git repo is incredibly large, so we download the archived include # the git repo is incredibly large, so we download the archived include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment