mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-09-02 16:01:16 +03:00
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>
This commit is contained in:
committed by
Dave Rodgman
parent
0a403d4fd6
commit
b63134a910
4
3rdparty/everest/CMakeLists.txt
vendored
4
3rdparty/everest/CMakeLists.txt
vendored
@@ -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()
|
||||
|
||||
|
4
3rdparty/p256-m/CMakeLists.txt
vendored
4
3rdparty/p256-m/CMakeLists.txt
vendored
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user