mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 16:51:37 +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,5 +35,5 @@ add_library(ecl_geo
|
||||
geo.cpp
|
||||
)
|
||||
add_dependencies(ecl_geo prebuild_targets)
|
||||
|
||||
target_compile_definitions(ecl_geo PRIVATE -DMODULE_NAME="ecl/geo")
|
||||
target_include_directories(ecl_geo PUBLIC ${ECL_SOURCE_DIR})
|
||||
|
||||
Reference in New Issue
Block a user