1
0
cuberite-2a/lib/polarssl.cmake
2014-05-01 11:57:07 -07:00

11 lines
345 B
CMake

if(NOT TARGET polarssl)
message("including polarssl")
if (SELF_TEST)
set(ENABLE_TESTING OFF CACHE BOOL)
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()