CMakeLists.txt 710 B

1234567891011121314151617
  1. list (APPEND thirdparty_src)
  2. list (APPEND thirdparty_lib)
  3. list (APPEND thirdparty_inc_public)
  4. list (APPEND thirdparty_inc)
  5. list (APPEND thirdparty_def)
  6. 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)
  7. if(${result} EQUAL 0)
  8. add_subdirectory(everest)
  9. endif()
  10. set(thirdparty_src ${thirdparty_src} PARENT_SCOPE)
  11. set(thirdparty_lib ${thirdparty_lib} PARENT_SCOPE)
  12. set(thirdparty_inc_public ${thirdparty_inc_public} PARENT_SCOPE)
  13. set(thirdparty_inc ${thirdparty_inc} PARENT_SCOPE)
  14. set(thirdparty_def ${thirdparty_def} PARENT_SCOPE)