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) if(USE_BUNDLED_LMDBXX)
FetchContent_Declare( FetchContent_Declare(
lmdbxx lmdbxx
GIT_REPOSITORY https://github.com/hoytech/lmdbxx.git URL "https://raw.githubusercontent.com/hoytech/lmdbxx/1.0.0/lmdb++.h"
GIT_TAG 1.0.0 DOWNLOAD_NO_EXTRACT TRUE
) )
if(NOT lmdbxx_POPULATED) if(NOT lmdbxx_POPULATED)
FetchContent_Populate(lmdbxx) FetchContent_Populate(lmdbxx)