summaryrefslogtreecommitdiffstats
path: root/lib/polarssl.cmake
blob: 4a2af9dfd7bf390d31691bef3ce006869d994bf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10

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