cmake_minimum_required(VERSION 3.10) if(TARGET list) target_link_libraries(bspMCU INTERFACE list) else() message(WARNING "[bspMCU] Dependency 'list' not found.") endif() if(TARGET ringbuffer) target_link_libraries(bspMCU INTERFACE ringbuffer) else() message(WARNING "[bspMCU] Dependency 'ringbuffer' not found.") endif() if(TARGET peripheral) target_link_libraries(bspMCU INTERFACE peripheral) else() message(WARNING "[bspMCU] Dependency 'peripheral' not found.") endif() if(TARGET lua) target_link_libraries(bspMCU INTERFACE lua) else() message(WARNING "[bspMCU] Dependency 'lua' not found.") endif() if(TARGET stm32cubemx) target_link_libraries(bspMCU INTERFACE stm32cubemx) else() message(WARNING "[bspMCU] Dependency 'stm32cubemx' not found.") endif()