projects/guix·blob java-team · refs

20 lines · 714 B

1Remove references to bundled mbedtls library to use the one from inputs.
2
3diff --git a/CMakeLists.txt b/CMakeLists.txt
4index 1e27d21..f0eb1a5 100644
5--- a/CMakeLists.txt
6+++ b/CMakeLists.txt
7@@ -85,13 +85,6 @@ endif()
8
9 set(USE_STATIC_MBEDTLS_LIBRARY ON)
10 set(USE_SHARED_MBEDTLS_LIBRARY OFF)
11-add_subdirectory("lib/mbedtls" EXCLUDE_FROM_ALL)
12-
13-# Compile the mbedtls library as a static with position independent code,
14-# because we need it for both a shared and static library
15-set_property(TARGET mbedtls PROPERTY POSITION_INDEPENDENT_CODE ON)
16-set_property(TARGET mbedcrypto PROPERTY POSITION_INDEPENDENT_CODE ON)
17-set_property(TARGET mbedx509 PROPERTY POSITION_INDEPENDENT_CODE ON)
18
19 add_subdirectory(src)
20