7 changed files with 18 additions and 2 deletions
@ -0,0 +1,15 @@ |
|||
cmake_minimum_required(VERSION 3.10) |
|||
|
|||
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../library/CMakeLists.txt") |
|||
|
|||
if(EXISTS ${COMMON_CMAKE_PATH}) |
|||
include(${COMMON_CMAKE_PATH}) |
|||
else() |
|||
message(FATAL_ERROR "Cannot find common build logic at ${COMMON_CMAKE_PATH}") |
|||
endif() |
|||
|
|||
if(TARGET bspMCU) |
|||
target_link_libraries(RBcore PUBLIC bspMCU) |
|||
else() |
|||
message(WARNING "[v] Dependency 'bspMCU' not found.") |
|||
endif() |
|||
Loading…
Reference in new issue