Merge pull request #15041 from LDong-Arm/target_name

CMake: Set TARGET_NAME macro
pull/15029/head
Martin Kojtal 2021-09-01 15:24:26 +01:00 committed by GitHub
commit ae16be8faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ if(${CMAKE_CROSSCOMPILING})
target_compile_definitions(mbed-core
INTERFACE
TARGET_NAME=${MBED_TARGET}
${MBED_TARGET_DEFINITIONS}
${MBED_CONFIG_DEFINITIONS}
)