Avoid T error on radio libraries

These libraries have an (indirect) dependency on T, either by using the
logging module (which in turn depends on T), or through other includes.

The easiest is to depend on the logging module, which will fulfil also
the T dependency.

It would equally be feasible to use the utils target (which in turn
depends on log_headers), but this would necessitate to compile, and does
not seem to be necessary.
This commit is contained in:
Robert Schmidt
2025-09-11 09:30:08 +02:00
parent 2a5ed87589
commit 19813283fb
11 changed files with 15 additions and 16 deletions

View File

@@ -1,4 +1,3 @@
add_library(rf_emulator MODULE rf_emulator.c)
set_target_properties(rf_emulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
target_link_libraries(rf_emulator PRIVATE noise_device)
add_dependencies(rf_emulator generate_T)
target_link_libraries(rf_emulator PRIVATE noise_device log_headers)