From 0704b3cc8453a21e02ccd41bb29cc8b9b0f8ddaf Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 3 Mar 2021 02:20:53 +0100 Subject: [PATCH] Download single file for lmdb++.hpp --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ed9be5d..577681f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -419,8 +419,8 @@ set_package_properties(nlohmann_json PROPERTIES if(USE_BUNDLED_LMDBXX) FetchContent_Declare( lmdbxx - GIT_REPOSITORY https://github.com/hoytech/lmdbxx.git - GIT_TAG 1.0.0 + URL "https://raw.githubusercontent.com/hoytech/lmdbxx/1.0.0/lmdb++.h" + DOWNLOAD_NO_EXTRACT TRUE ) if(NOT lmdbxx_POPULATED) FetchContent_Populate(lmdbxx)