Skip to content

Commit

Permalink
Fix Mbed shell example build
Browse files Browse the repository at this point in the history
  • Loading branch information
ATmobica committed Oct 27, 2021
1 parent 0228179 commit 1fb15cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/shell/mbed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.19.0)

get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../.. REALPATH)
get_filename_component(APP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/.. REALPATH)
get_filename_component(GEN_DIR ${CHIP_ROOT}/zzz_generated/ REALPATH)

configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/config.in
Expand All @@ -31,7 +32,8 @@ mbed_configure_app_target(${APP_TARGET})

target_include_directories(${APP_TARGET} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/main/include
${APP_ROOT}/shell_common/include)
${APP_ROOT}/shell_common/include
${GEN_DIR}/app-common)

target_sources(${APP_TARGET} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/main/main.cpp
Expand Down

0 comments on commit 1fb15cc

Please sign in to comment.