You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
447 B
15 lines
447 B
|
1 day ago
|
cmake_minimum_required(VERSION 3.10)
|
||
|
|
|
||
|
1 day ago
|
set(COMMON_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../library/CMakeLists.txt")
|
||
|
1 day ago
|
|
||
|
|
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 stm32cubemx)
|
||
|
|
target_link_libraries(Spoolold PUBLIC stm32cubemx)
|
||
|
|
else()
|
||
|
|
message(WARNING "[Spoolold] Dependency 'stm32cubemx' not found.")
|
||
|
|
endif()
|