File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
option (USE_STATIC_MBEDTLS_LIBRARY "Build mbed TLS static library." ON )
2
2
option (USE_SHARED_MBEDTLS_LIBRARY "Build mbed TLS shared library." OFF )
3
3
option (LINK_WITH_PTHREAD "Explicitly link mbed TLS library to pthread." OFF )
4
+ option (LINK_WITH_TRUSTED_STORAGE "Explicitly link mbed TLS library to trusted_storage." ON )
4
5
5
6
# Set the project root directory if it's not already defined, as may happen if
6
7
# the library folder is included directly by a parent project, without
@@ -125,6 +126,10 @@ if(LINK_WITH_PTHREAD)
125
126
set (libs ${libs} pthread )
126
127
endif ()
127
128
129
+ if (LINK_WITH_TRUSTED_STORAGE )
130
+ set (libs ${libs} trusted_storage )
131
+ endif ()
132
+
128
133
if (NOT USE_STATIC_MBEDTLS_LIBRARY AND NOT USE_SHARED_MBEDTLS_LIBRARY )
129
134
message (FATAL_ERROR "Need to choose static or shared mbedtls build!" )
130
135
endif (NOT USE_STATIC_MBEDTLS_LIBRARY AND NOT USE_SHARED_MBEDTLS_LIBRARY )
You can’t perform that action at this time.
0 commit comments