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