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)