From 35cc9161627feba800690e2b3facd5cb112ccc80 Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Mon, 5 Jan 2026 16:40:06 -0600 Subject: [PATCH] make host hardware_ libraries depend on hardware_claim too as it was moved to common in 2.0.0 --- src/CMakeLists.txt | 4 +--- src/host/hardware_irq/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 65b1d8c5..f058fab0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -165,9 +165,7 @@ macro(pico_simple_hardware_impl_target NAME) ) pico_mirrored_target_link_libraries(hardware_${NAME} INTERFACE pico_platform) - if (NOT PICO_NO_HARDWARE) - target_link_libraries(hardware_${NAME} INTERFACE hardware_claim) - endif() + target_link_libraries(hardware_${NAME} INTERFACE hardware_claim) endif() endmacro() diff --git a/src/host/hardware_irq/CMakeLists.txt b/src/host/hardware_irq/CMakeLists.txt index d5c54237..7b23468a 100644 --- a/src/host/hardware_irq/CMakeLists.txt +++ b/src/host/hardware_irq/CMakeLists.txt @@ -1,2 +1 @@ -pico_simple_hardware_target(irq) -target_link_libraries(hardware_irq INTERFACE hardware_claim) \ No newline at end of file +pico_simple_hardware_target(irq) \ No newline at end of file