10 lines
308 B
CMake
10 lines
308 B
CMake
|
|
if(NOT TARGET polarssl)
|
|
message("including polarssl")
|
|
if (SELF_TEST)
|
|
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()
|
|
endif()
|