From 4f6d523c9579ab71f1694febeec8e0af150fb800 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Tue, 21 Jun 2022 13:25:18 +0300 Subject: [PATCH] mixer_module: Fix linking of mixer_module The module has a hard dependency on mixer library, so link them together --- src/lib/mixer_module/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mixer_module/CMakeLists.txt b/src/lib/mixer_module/CMakeLists.txt index 3f9822027f..816d8385d1 100644 --- a/src/lib/mixer_module/CMakeLists.txt +++ b/src/lib/mixer_module/CMakeLists.txt @@ -63,6 +63,6 @@ px4_add_library(mixer_module add_dependencies(mixer_module output_functions_header) target_compile_options(mixer_module PRIVATE ${MAX_CUSTOM_OPT_LEVEL}) target_include_directories(mixer_module PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) +target_link_libraries(mixer_module PRIVATE mixer) px4_add_functional_gtest(SRC mixer_module_tests.cpp LINKLIBS mixer_module mixer) -