Christoph M. Wintersteiger | 6ea2dea1 | 2019-01-21 17:26:19 +0000 | [diff] [blame] | 1 | list (APPEND thirdparty_src) |
| 2 | list (APPEND thirdparty_lib) |
Ronald Cron | f19f312 | 2020-05-25 10:26:37 +0200 | [diff] [blame] | 3 | list (APPEND thirdparty_inc_public) |
Christoph M. Wintersteiger | 6ea2dea1 | 2019-01-21 17:26:19 +0000 | [diff] [blame] | 4 | list (APPEND thirdparty_inc) |
| 5 | list (APPEND thirdparty_def) |
| 6 | |
Ronald Cron | 00f5b8c | 2020-05-25 09:39:09 +0200 | [diff] [blame] | 7 | execute_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 | |
| 9 | if(${result} EQUAL 0) |
| 10 | add_subdirectory(everest) |
| 11 | endif() |
Christoph M. Wintersteiger | ea24394 | 2019-01-07 14:12:25 +0000 | [diff] [blame] | 12 | |
Christoph M. Wintersteiger | 6ea2dea1 | 2019-01-21 17:26:19 +0000 | [diff] [blame] | 13 | set(thirdparty_src ${thirdparty_src} PARENT_SCOPE) |
| 14 | set(thirdparty_lib ${thirdparty_lib} PARENT_SCOPE) |
Ronald Cron | f19f312 | 2020-05-25 10:26:37 +0200 | [diff] [blame] | 15 | set(thirdparty_inc_public ${thirdparty_inc_public} PARENT_SCOPE) |
Christoph M. Wintersteiger | 6ea2dea1 | 2019-01-21 17:26:19 +0000 | [diff] [blame] | 16 | set(thirdparty_inc ${thirdparty_inc} PARENT_SCOPE) |
| 17 | set(thirdparty_def ${thirdparty_def} PARENT_SCOPE) |