2017-09-19 08:34:08 +00:00
|
|
|
|
2015-05-03 08:01:19 +00:00
|
|
|
# This script includes PolarSSL, if not already included.
|
|
|
|
# It is needed for when multiple projects reference PolarSSL.
|
|
|
|
|
|
|
|
if(NOT TARGET mbedtls)
|
2017-08-30 14:00:06 +00:00
|
|
|
message("including mbedtls")
|
2014-07-06 15:27:50 +00:00
|
|
|
set(ENABLE_TESTING OFF CACHE BOOL "Disable tests")
|
|
|
|
set(ENABLE_PROGRAMS OFF CACHE BOOL "Disable programs")
|
2017-08-30 14:00:06 +00:00
|
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/mbedtls/ ${CMAKE_CURRENT_BINARY_DIR}/lib/mbedtls EXCLUDE_FROM_ALL)
|
2014-02-16 12:39:41 +00:00
|
|
|
endif()
|