From 5236f5009f48c8b2fcee2584414ddadd0e6f070e Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Wed, 24 Feb 2021 10:29:10 +0000 Subject: [PATCH] CMake: fix exposing target includes for mbed-os/baremetal --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2de078977c..5f91b57242 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,15 +30,8 @@ target_link_libraries(mbed-os mbed-core ) - -# Expose target headers to an app, but hide objects as they are part of mbed-core -target_include_directories(mbed-os INTERFACE $) - add_library(mbed-baremetal INTERFACE) -# Expose target headers to an app, but hide objects as they are part of mbed-core -target_include_directories(mbed-baremetal INTERFACE $) - target_sources(mbed-baremetal INTERFACE $) target_link_libraries(mbed-baremetal