Skip to content

Commit ae16be8

Browse files
authored
Merge pull request #15041 from LDong-Arm/target_name
CMake: Set TARGET_NAME macro
2 parents 79bc5ac + aca2d63 commit ae16be8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ if(${CMAKE_CROSSCOMPILING})
101101

102102
target_compile_definitions(mbed-core
103103
INTERFACE
104+
TARGET_NAME=${MBED_TARGET}
104105
${MBED_TARGET_DEFINITIONS}
105106
${MBED_CONFIG_DEFINITIONS}
106107
)

0 commit comments

Comments
 (0)