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 11option (USE_STATIC_MBEDTLS_LIBRARY "Build mbed TLS static library." ON )
22option (USE_SHARED_MBEDTLS_LIBRARY "Build mbed TLS shared library." OFF )
33option (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 )
45
56# Set the project root directory if it's not already defined, as may happen if
67# the library folder is included directly by a parent project, without
@@ -125,6 +126,10 @@ if(LINK_WITH_PTHREAD)
125126 set (libs ${libs} pthread)
126127endif ()
127128
129+ if (LINK_WITH_TRUSTED_STORAGE)
130+ set (libs ${libs} trusted_storage)
131+ endif ()
132+
128133if (NOT USE_STATIC_MBEDTLS_LIBRARY AND NOT USE_SHARED_MBEDTLS_LIBRARY)
129134 message (FATAL_ERROR "Need to choose static or shared mbedtls build!" )
130135endif (NOT USE_STATIC_MBEDTLS_LIBRARY AND NOT USE_SHARED_MBEDTLS_LIBRARY)
You can’t perform that action at this time.
0 commit comments