fix events: use px4_add_library instead of add_library

Fixes `make uorb_graphs`
This commit is contained in:
Beat Küng 2023-10-06 08:07:17 +02:00 committed by Daniel Agar
parent aa87b2ef4d
commit 2e1d5687f9
1 changed files with 1 additions and 2 deletions

View File

@ -118,5 +118,4 @@ if (${PX4_PLATFORM} STREQUAL "nuttx" AND NOT CONFIG_BUILD_FLAT)
add_dependencies(usr_events prebuild_targets)
endif()
add_library(events events.cpp ${EXTRA_SRCS})
add_dependencies(events prebuild_targets)
px4_add_library(events events.cpp ${EXTRA_SRCS})