Download single file for lmdb++.hpp

This commit is contained in:
Nicolas Werner 2021-03-03 02:20:53 +01:00
parent d28a620f42
commit 0704b3cc84
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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)