set MODULE define for each library

- this is needed for INFO, WARN, ERR messages when used within PX4
This commit is contained in:
Daniel Agar
2018-05-27 20:08:47 +02:00
committed by Lorenz Meier
parent 50631e5d98
commit a80b3ab610
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -35,5 +35,5 @@ add_library(ecl_tecs
tecs.cpp
)
add_dependencies(ecl_tecs prebuild_targets)
target_compile_definitions(ecl_tecs PRIVATE -DMODULE_NAME="ecl/tecs")
target_include_directories(ecl_tecs PUBLIC ${ECL_SOURCE_DIR})