Try to fix lmdbxx download

This commit is contained in:
Nicolas Werner 2021-11-18 03:10:04 +01:00
parent 3a3735f67a
commit 7f5a92106a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ variables:
# prevent configure tzdata hanging apt install commands # prevent configure tzdata hanging apt install commands
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
build-gcc7: build-gcc9:
stage: build stage: build
image: ubuntu:20.04 image: ubuntu:20.04
tags: [docker] tags: [docker]

View file

@ -487,10 +487,10 @@ if(USE_BUNDLED_LMDBXX)
lmdbxx lmdbxx
URL "https://raw.githubusercontent.com/hoytech/lmdbxx/1.0.0/lmdb++.h" URL "https://raw.githubusercontent.com/hoytech/lmdbxx/1.0.0/lmdb++.h"
DOWNLOAD_NO_EXTRACT TRUE DOWNLOAD_NO_EXTRACT TRUE
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
) )
if(NOT lmdbxx_POPULATED) FetchContent_Populate(lmdbxx)
FetchContent_Populate(lmdbxx)
endif()
add_library(lmdbxx INTERFACE) add_library(lmdbxx INTERFACE)
target_include_directories(lmdbxx INTERFACE ${lmdbxx_SOURCE_DIR}) target_include_directories(lmdbxx INTERFACE ${lmdbxx_SOURCE_DIR})
add_library(lmdbxx::lmdbxx ALIAS lmdbxx) add_library(lmdbxx::lmdbxx ALIAS lmdbxx)