mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-27 13:38:49 +03:00
23 lines
435 B
CMake
23 lines
435 B
CMake
include(ExternalProject)
|
|
|
|
#
|
|
# Build lmdbxx.
|
|
#
|
|
|
|
set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party)
|
|
set(LMDBXX_ROOT ${THIRD_PARTY_ROOT}/lmdbxx)
|
|
|
|
set(LMDBXX_INCLUDE_DIR ${LMDBXX_ROOT})
|
|
|
|
ExternalProject_Add(
|
|
lmdbxx
|
|
|
|
GIT_REPOSITORY https://github.com/bendiken/lmdbxx
|
|
GIT_TAG 0b43ca87d8cfabba392dfe884eb1edb83874de02
|
|
|
|
BUILD_IN_SOURCE 1
|
|
SOURCE_DIR ${LMDBXX_ROOT}
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
)
|