mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-27 17:37:20 +01:00
make host hardware_ libraries depend on hardware_claim too as it was moved to common in 2.0.0
This commit is contained in:
parent
578dabb60b
commit
35cc916162
2 changed files with 2 additions and 5 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
pico_simple_hardware_target(irq)
|
||||
target_link_libraries(hardware_irq INTERFACE hardware_claim)
|
||||
pico_simple_hardware_target(irq)
|
||||
Loading…
Add table
Reference in a new issue