mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Reduce targets in fetched mbedtls and show progress
This commit is contained in:
parent
420809b24e
commit
b4f051395f
1 changed files with 5 additions and 2 deletions
|
@ -91,13 +91,16 @@ endif()
|
||||||
if(CHIAKI_LIB_ENABLE_MBEDTLS)
|
if(CHIAKI_LIB_ENABLE_MBEDTLS)
|
||||||
add_definitions(-DCHIAKI_LIB_ENABLE_MBEDTLS)
|
add_definitions(-DCHIAKI_LIB_ENABLE_MBEDTLS)
|
||||||
if(CHIAKI_LIB_MBEDTLS_EXTERNAL_PROJECT)
|
if(CHIAKI_LIB_MBEDTLS_EXTERNAL_PROJECT)
|
||||||
|
set(FETCHCONTENT_QUIET CACHE BOOL FALSE)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
set(ENABLE_TESTING OFF)
|
set(ENABLE_TESTING CACHE INTERNAL OFF)
|
||||||
set(USE_SHARED_MBEDTLS_LIBRARY OFF)
|
set(ENABLE_PROGRAMS CACHE INTERNAL OFF)
|
||||||
|
set(USE_SHARED_MBEDTLS_LIBRARY CACHE INTERNAL OFF)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
mbedtls
|
mbedtls
|
||||||
GIT_REPOSITORY https://github.com/Mbed-TLS/mbedtls.git
|
GIT_REPOSITORY https://github.com/Mbed-TLS/mbedtls.git
|
||||||
GIT_TAG 8b3f26a5ac38d4fdccbc5c5366229f3e01dafcc0 # v2.28.0
|
GIT_TAG 8b3f26a5ac38d4fdccbc5c5366229f3e01dafcc0 # v2.28.0
|
||||||
|
GIT_PROGRESS TRUE
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(mbedtls)
|
FetchContent_MakeAvailable(mbedtls)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue