Fix out-of-tree builds that use the PSA crypto API headers

This commit is contained in:
Gilles Peskine 2019-01-02 17:24:41 +01:00 committed by Darryl Green
parent 265a171c52
commit 451e24c1d8

View file

@ -18,4 +18,5 @@ endif(INSTALL_MBEDTLS_HEADERS)
# Make config.h available in an out-of-source build. ssl-opt.sh requires it.
if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
link_to_source(mbedtls)
link_to_source(psa)
endif()