diff options
author | David Horstmann <david.horstmann@arm.com> | 2023-10-06 11:48:44 +0100 |
---|---|---|
committer | David Horstmann <david.horstmann@arm.com> | 2023-10-06 12:04:25 +0100 |
commit | 3c33cb599aab3665c18630eeddb5b437c09ed0c9 (patch) | |
tree | dc35852c12dbc971c77022a63bb901423b713c2e /3rdparty | |
parent | 0d315378bf6fbe57e8a29ee6832ba7d14b540382 (diff) | |
download | mbedtls-3c33cb599aab3665c18630eeddb5b437c09ed0c9.zip mbedtls-3c33cb599aab3665c18630eeddb5b437c09ed0c9.tar.gz mbedtls-3c33cb599aab3665c18630eeddb5b437c09ed0c9.tar.bz2 |
Fix 3rdparty target names for custom config
Use the correct names qualified by MBEDTLS_TARGET_PREFIX.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/everest/CMakeLists.txt | 4 | ||||
-rw-r--r-- | 3rdparty/p256-m/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/everest/CMakeLists.txt b/3rdparty/everest/CMakeLists.txt index eefc151..e0e5ade 100644 --- a/3rdparty/everest/CMakeLists.txt +++ b/3rdparty/everest/CMakeLists.txt @@ -18,11 +18,11 @@ target_include_directories(${everest_target} # everest is not directly linked against any mbedtls targets # so does not inherit the compile definitions. if(MBEDTLS_CONFIG_FILE) - target_compile_definitions(everest + target_compile_definitions(${everest_target} PUBLIC MBEDTLS_CONFIG_FILE="${MBEDTLS_CONFIG_FILE}") endif() if(MBEDTLS_USER_CONFIG_FILE) - target_compile_definitions(everest + target_compile_definitions(${everest_target} PUBLIC MBEDTLS_USER_CONFIG_FILE="${MBEDTLS_USER_CONFIG_FILE}") endif() diff --git a/3rdparty/p256-m/CMakeLists.txt b/3rdparty/p256-m/CMakeLists.txt index 41be3c4..2ef0d48 100644 --- a/3rdparty/p256-m/CMakeLists.txt +++ b/3rdparty/p256-m/CMakeLists.txt @@ -16,11 +16,11 @@ target_include_directories(${p256m_target} # p256m is not directly linked against any mbedtls targets # so does not inherit the compile definitions. if(MBEDTLS_CONFIG_FILE) - target_compile_definitions(p256m + target_compile_definitions(${p256m_target} PUBLIC MBEDTLS_CONFIG_FILE="${MBEDTLS_CONFIG_FILE}") endif() if(MBEDTLS_USER_CONFIG_FILE) - target_compile_definitions(p256m + target_compile_definitions(${p256m_target} PUBLIC MBEDTLS_USER_CONFIG_FILE="${MBEDTLS_USER_CONFIG_FILE}") endif() |