mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 21:33:35 +08:00
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:
@@ -32,7 +32,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
px4_add_module(
|
px4_add_module(
|
||||||
MODULE module__manual_control
|
MODULE modules__manual_control
|
||||||
MAIN manual_control
|
MAIN manual_control
|
||||||
COMPILE_FLAGS
|
COMPILE_FLAGS
|
||||||
SRCS
|
SRCS
|
||||||
@@ -42,7 +42,8 @@ px4_add_module(
|
|||||||
ManualControlSelector.hpp
|
ManualControlSelector.hpp
|
||||||
ManualControlSelector.cpp
|
ManualControlSelector.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
hysteresis
|
||||||
px4_work_queue
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user