diff --git a/src/rp2_common/pico_bootrom/CMakeLists.txt b/src/rp2_common/pico_bootrom/CMakeLists.txt index 9fbc90cbd..17c610c8b 100644 --- a/src/rp2_common/pico_bootrom/CMakeLists.txt +++ b/src/rp2_common/pico_bootrom/CMakeLists.txt @@ -9,7 +9,4 @@ target_sources(pico_bootrom INTERFACE ) target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers) -pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock) -if (TARGET pico_flash) - pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_flash) -endif() +pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)