2014-02-16 07:39:41 -05:00
|
|
|
|
|
|
|
if(NOT TARGET polarssl)
|
|
|
|
message("including polarssl")
|
2014-04-27 15:25:03 -04:00
|
|
|
if (SELF_TEST)
|
2014-05-01 14:57:07 -04:00
|
|
|
set(ENABLE_TESTING OFF CACHE BOOL)
|
2014-04-27 15:25:03 -04:00
|
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl)
|
|
|
|
else()
|
|
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl EXCLUDE_FROM_ALL)
|
|
|
|
endif()
|
2014-02-16 07:39:41 -05:00
|
|
|
endif()
|