mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Try to fix lmdbxx download
This commit is contained in:
parent
3a3735f67a
commit
7f5a92106a
2 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue