From 9b287c65564a62700eef371e28657c6dd8e8fc77 Mon Sep 17 00:00:00 2001 From: Richard Hulme Date: Thu, 27 Nov 2025 20:26:12 +0100 Subject: [PATCH] Add missing dependency to hardware_timer in host-mode pico-platform Fixes #2733 --- src/host/pico_platform/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/pico_platform/CMakeLists.txt b/src/host/pico_platform/CMakeLists.txt index 116995362..87178696f 100644 --- a/src/host/pico_platform/CMakeLists.txt +++ b/src/host/pico_platform/CMakeLists.txt @@ -23,7 +23,7 @@ if (NOT TARGET pico_platform) ${CMAKE_CURRENT_LIST_DIR}/platform_base.c ) - target_link_libraries(pico_platform INTERFACE pico_platform_headers pico_bit_ops ${PICO_PLATFORM_EXTRA_LIBRARIES}) + target_link_libraries(pico_platform INTERFACE pico_platform_headers pico_bit_ops hardware_timer ${PICO_PLATFORM_EXTRA_LIBRARIES}) endif() function(pico_add_platform_library TARGET)