mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* dependencies: Pin mbedtls to tagged version v3.1.0 * Update CMakeLists.txt Remove extra space Co-authored-by: LordGrey <48840279+Lord-Grey@users.noreply.github.com>
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(mbedtls)
|
|
|
|
set(DOWNLOAD_DIR "@MBEDTLS_DOWNLOAD_DIR@")
|
|
set(SOURCE_DIR "@MBEDTLS_SOURCE_DIR@")
|
|
set(BINARY_DIR "@MBEDTLS_BINARY_DIR@")
|
|
set(INSTALL_DIR "@MBEDTLS_INSTALL_DIR@")
|
|
set(CMAKE_ARGS "@MBEDTLS_CMAKE_ARGS@")
|
|
set(LOGGING "@MBEDTLS_LOGGING@")
|
|
|
|
include(ExternalProject)
|
|
|
|
ExternalProject_Add(
|
|
mbedtls
|
|
GIT_REPOSITORY "https://github.com/ARMmbed/mbedtls.git"
|
|
GIT_TAG "v3.1.0" # Bump versions manually if necessary, do not rely on origin/master to be stable
|
|
BUILD_ALWAYS OFF
|
|
DOWNLOAD_DIR "${DOWNLOAD_DIR}"
|
|
SOURCE_DIR "${SOURCE_DIR}"
|
|
BINARY_DIR "${BINARY_DIR}"
|
|
INSTALL_DIR "${INSTALL_DIR}"
|
|
CMAKE_ARGS ${CMAKE_ARGS}
|
|
CONFIGURE_COMMAND ""
|
|
UPDATE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
LOG_DOWNLOAD ${LOGGING}
|
|
LOG_UPDATE ${LOGGING}
|
|
LOG_PATCH ${LOGGING}
|
|
LOG_CONFIGURE ${LOGGING}
|
|
LOG_BUILD ${LOGGING}
|
|
LOG_INSTALL ${LOGGING}
|
|
LOG_TEST ${LOGGING}
|
|
LOG_MERGED_STDOUTERR ${LOGGING}
|
|
LOG_OUTPUT_ON_FAILURE ${LOGGING}
|
|
)
|