mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 07:07:47 +00:00
[cmake] add OT_PRIVATE_DEFINES to platform lib build (#4636)
This commit is contained in:
@@ -69,7 +69,12 @@ endif()
|
||||
|
||||
target_link_libraries(openthread-simulation PRIVATE openthread-platform-utils)
|
||||
|
||||
target_compile_definitions(openthread-simulation PUBLIC ${OT_PLATFORM_DEFINES})
|
||||
target_compile_definitions(openthread-simulation
|
||||
PUBLIC
|
||||
${OT_PLATFORM_DEFINES}
|
||||
PRIVATE
|
||||
${OT_PRIVATE_DEFINES}
|
||||
)
|
||||
|
||||
target_compile_options(openthread-simulation PRIVATE
|
||||
${OT_CFLAGS}
|
||||
|
||||
Reference in New Issue
Block a user