summary refs log tree commit diff
path: root/cmake/LMDBXX.cmake
blob: 3b9817d9bd15b3942d88e5efe924d48fbfafef27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ""
)