mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 21:33:35 +08:00
set MODULE define for each library
- this is needed for INFO, WARN, ERR messages when used within PX4
This commit is contained in:
committed by
Lorenz Meier
parent
50631e5d98
commit
a80b3ab610
+1
-1
@@ -35,6 +35,6 @@ add_library(ecl_l1
|
||||
ecl_l1_pos_controller.cpp
|
||||
)
|
||||
add_dependencies(ecl_l1 prebuild_targets)
|
||||
|
||||
target_compile_definitions(ecl_l1 PRIVATE -DMODULE_NAME="ecl/l1")
|
||||
target_include_directories(ecl_l1 PUBLIC ${ECL_SOURCE_DIR})
|
||||
target_link_libraries(ecl_l1 PRIVATE ecl_geo)
|
||||
|
||||
Reference in New Issue
Block a user