Try to fix lmdbxx download

This commit is contained in:
Nicolas Werner 2021-11-18 03:10:04 +01:00
parent 6f59f19003
commit 446ecfea0b
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
DEBIAN_FRONTEND: noninteractive
build-gcc7:
build-gcc9:
stage: build
image: ubuntu:20.04
tags: [docker]

View File

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