diff --git a/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt index 894969a6ba..a9673cbae3 100644 --- a/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt @@ -129,6 +129,7 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . + CMSIS STM32H7xx_HAL_Driver STM32H7xx_HAL_Driver/Legacy ) diff --git a/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt index a6fc8c36c5..d0033540ca 100644 --- a/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt @@ -74,6 +74,7 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . + CMSIS STM32L0xx_HAL_Driver STM32L0xx_HAL_Driver/Legacy ) diff --git a/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt index 1f06b554a5..fa5a2d42a6 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt @@ -11,5 +11,5 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . - CMSIS + CMSIS )