1list (APPEND thirdparty_src) 2list (APPEND thirdparty_lib) 3list (APPEND thirdparty_inc_public) 4list (APPEND thirdparty_inc) 5list (APPEND thirdparty_def) 6 7execute_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() 12 13set(thirdparty_src ${thirdparty_src} PARENT_SCOPE) 14set(thirdparty_lib ${thirdparty_lib} PARENT_SCOPE) 15set(thirdparty_inc_public ${thirdparty_inc_public} PARENT_SCOPE) 16set(thirdparty_inc ${thirdparty_inc} PARENT_SCOPE) 17set(thirdparty_def ${thirdparty_def} PARENT_SCOPE) 18