forked from mirror/nheko
parent
6c5309d9eb
commit
3bc8d791fb
@ -1,23 +0,0 @@ |
||||
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 "" |
||||
) |
@ -1,23 +0,0 @@ |
||||
include(ExternalProject) |
||||
|
||||
# |
||||
# Build tweeny |
||||
# |
||||
|
||||
set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party) |
||||
set(TWEENY_ROOT ${THIRD_PARTY_ROOT}/tweeny) |
||||
|
||||
set(TWEENY_INCLUDE_DIR ${TWEENY_ROOT}/include) |
||||
|
||||
ExternalProject_Add( |
||||
Tweeny |
||||
|
||||
GIT_REPOSITORY https://github.com/mobius3/tweeny |
||||
GIT_TAG b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf |
||||
|
||||
BUILD_IN_SOURCE 1 |
||||
SOURCE_DIR ${TWEENY_ROOT} |
||||
CONFIGURE_COMMAND "" |
||||
BUILD_COMMAND "" |
||||
INSTALL_COMMAND "" |
||||
) |
@ -0,0 +1,22 @@ |
||||
set(WINDOWS_FLAGS "") |
||||
|
||||
if(MSVC) |
||||
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64") |
||||
endif() |
||||
|
||||
ExternalProject_Add( |
||||
Tweeny |
||||
|
||||
GIT_REPOSITORY ${TWEENY_URL} |
||||
GIT_TAG ${TWEENY_TAG} |
||||
|
||||
BUILD_IN_SOURCE 1 |
||||
SOURCE_DIR ${DEPS_BUILD_DIR}/tweeny |
||||
CONFIGURE_COMMAND ${CMAKE_COMMAND} |
||||
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR} |
||||
-DTWEENY_BUILD_EXAMPLES=OFF |
||||
-DTWEENY_BUILD_DOCUMENTATION=OFF |
||||
${DEPS_BUILD_DIR}/tweeny |
||||
${WINDOWS_FLAGS}) |
||||
|
||||
list(APPEND THIRD_PARTY_DEPS Tweeny) |
Loading…
Reference in new issue