blob: 18945e52ee7583744a0c8f12aafa4b63bd2be5e9 [file] [log] [blame]
Christoph M. Wintersteiger6ea2dea12019-01-21 17:26:19 +00001list (APPEND thirdparty_src)
2list (APPEND thirdparty_lib)
Ronald Cronf19f3122020-05-25 10:26:37 +02003list (APPEND thirdparty_inc_public)
Christoph M. Wintersteiger6ea2dea12019-01-21 17:26:19 +00004list (APPEND thirdparty_inc)
5list (APPEND thirdparty_def)
6
Ronald Cron00f5b8c2020-05-25 09:39:09 +02007execute_process(COMMAND ${MBEDTLS_PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/config.py -f ${CMAKE_CURRENT_SOURCE_DIR}/../include/mbedtls/config.h get MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED RESULT_VARIABLE result)
8
9if(${result} EQUAL 0)
10 add_subdirectory(everest)
11endif()
Christoph M. Wintersteigerea243942019-01-07 14:12:25 +000012
Christoph M. Wintersteiger6ea2dea12019-01-21 17:26:19 +000013set(thirdparty_src ${thirdparty_src} PARENT_SCOPE)
14set(thirdparty_lib ${thirdparty_lib} PARENT_SCOPE)
Ronald Cronf19f3122020-05-25 10:26:37 +020015set(thirdparty_inc_public ${thirdparty_inc_public} PARENT_SCOPE)
Christoph M. Wintersteiger6ea2dea12019-01-21 17:26:19 +000016set(thirdparty_inc ${thirdparty_inc} PARENT_SCOPE)
17set(thirdparty_def ${thirdparty_def} PARENT_SCOPE)