From c81027e8e8b523b6f410f7cf14dec43551ede0a0 Mon Sep 17 00:00:00 2001 From: Marc PASTEUR Date: Tue, 18 Nov 2025 06:45:18 +0100 Subject: [PATCH] add bsd --- components/domotic_display/test_host/main/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/domotic_display/test_host/main/CMakeLists.txt b/components/domotic_display/test_host/main/CMakeLists.txt index e953fe9..9a46c11 100644 --- a/components/domotic_display/test_host/main/CMakeLists.txt +++ b/components/domotic_display/test_host/main/CMakeLists.txt @@ -25,7 +25,7 @@ idf_component_register(SRCS target_compile_options(${COMPONENT_LIB} PUBLIC --coverage -DLV_LVGL_H_INCLUDE_SIMPLE) target_link_libraries(${COMPONENT_LIB} PUBLIC ${PKG_CONFIG_LIB} --coverage) target_include_directories(${COMPONENT_LIB} PRIVATE ${CMAKE_SOURCE_DIR}/mock ${PKG_CONFIG_INC}) - +target_link_libraries(${COMPONENT_LIB} PRIVATE bsd) if(CMAKE_C_COMPILER_ID MATCHES "Clang") target_compile_options(${COMPONENT_LIB} PRIVATE -std=gnu++20) @@ -33,4 +33,4 @@ endif() # Currently 'main' for IDF_TARGET=linux is defined in freertos component. # Since we are using a freertos mock here, need to let Catch2 provide 'main'. -#target_link_libraries(${COMPONENT_LIB} PRIVATE Catch2WithMain) \ No newline at end of file +#target_link_libraries(${COMPONENT_LIB} PRIVATE Catch2WithMain)