ManualControl: correct CMake module definition

modules__ instead of module__ prefix
The module depends on the hysteresis library and probably because
it compiles with the still prevalent global includes the dependency
is not declared.
This commit is contained in:
Matthias Grob 2023-05-08 15:58:40 +02:00
parent 632596c1ea
commit 17535c288c

View File

@ -32,7 +32,7 @@
############################################################################
px4_add_module(
MODULE module__manual_control
MODULE modules__manual_control
MAIN manual_control
COMPILE_FLAGS
SRCS
@ -42,7 +42,8 @@ px4_add_module(
ManualControlSelector.hpp
ManualControlSelector.cpp
DEPENDS
hysteresis
px4_work_queue
)
px4_add_unit_gtest(SRC ManualControlSelectorTest.cpp LINKLIBS module__manual_control)
px4_add_unit_gtest(SRC ManualControlSelectorTest.cpp LINKLIBS modules__manual_control)