mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-28 05:58:47 +03:00
ee12e01939
Update JSON build dependencies, change the dockerfile and other CI files that relate to this. Also update target mtxclient revision.
19 lines
446 B
CMake
19 lines
446 B
CMake
ExternalProject_Add(
|
|
Json
|
|
|
|
GIT_REPOSITORY ${JSON_URL}
|
|
GIT_TAG ${JSON_TAG}
|
|
|
|
BUILD_IN_SOURCE 1
|
|
SOURCE_DIR ${DEPS_BUILD_DIR}/json
|
|
|
|
CONFIGURE_COMMAND ${CMAKE_COMMAND}
|
|
-DJSON_BuildTests=OFF
|
|
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
|
|
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
|
|
|
BUILD_COMMAND ${CMAKE_COMMAND} --build ${DEPS_BUILD_DIR}/json
|
|
INSTALL_COMMAND make install
|
|
)
|
|
|
|
list(APPEND THIRD_PARTY_DEPS Json)
|